From a6243c3b1cbeb059da98a9260730fc9767fe8b44 Mon Sep 17 00:00:00 2001 From: Joseph Fernandes Date: Wed, 8 Jul 2015 21:22:53 +0530 Subject: libgfdb/ctr: Fixing rename or update of link Backport of http://review.gluster.org/11584 to 3.7.2 Fixing rename or updating of link in 1) libgfdb : handling return from updatelink 2) ctr xlator: correcting freeing of oldbase name in hardlink list in the update link >Change-Id: I1789c492b81876123cd456051a9ae495e876ad46 >BUG: 1241054 >Signed-off-by: Joseph Fernandes >Reviewed-on: http://review.gluster.org/11584 >Tested-by: Joseph Fernandes >Reviewed-by: Dan Lambright >Tested-by: Dan Lambright >Tested-by: Gluster Build System Signed-off-by: Joseph Fernandes Change-Id: I6da86c06e390f62fe8a44ade7b1efda5771e9ca8 BUG: 1242536 Signed-off-by: Joseph Fernandes Reviewed-on: http://review.gluster.org/11649 Tested-by: Gluster Build System Reviewed-by: Dan Lambright --- libglusterfs/src/gfdb/gfdb_sqlite3_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/gfdb/gfdb_sqlite3_helper.c b/libglusterfs/src/gfdb/gfdb_sqlite3_helper.c index 40ee24c9627..68e0991bff2 100644 --- a/libglusterfs/src/gfdb/gfdb_sqlite3_helper.c +++ b/libglusterfs/src/gfdb/gfdb_sqlite3_helper.c @@ -829,7 +829,7 @@ gf_sql_insert_wind (gf_sql_connection_t *sql_conn, "Creating gfid string failed."); goto out; } - gf_sql_update_link (sql_conn, gfid_str, + ret = gf_sql_update_link (sql_conn, gfid_str, pargfid_str, gfdb_db_record->file_name, gfdb_db_record->file_path, -- cgit