From 95d31d089ed8e8a1bb90377160ac0bccdd47b6c0 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Wed, 18 Nov 2009 01:17:49 +0000 Subject: libglusterfsclient: change the prototype of glusterfs_lsetxattr. - it no longer needs handle to be passed as arguement. handle is searched in the vmp table based on the path. Signed-off-by: Raghavendra G Signed-off-by: Anand V. Avati BUG: 369 (Samba does not work with booster.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=369 --- libglusterfsclient/src/libglusterfsclient.c | 5 ++--- libglusterfsclient/src/libglusterfsclient.h | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'libglusterfsclient') diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c index c241f1fc3..3cc1d505f 100755 --- a/libglusterfsclient/src/libglusterfsclient.c +++ b/libglusterfsclient/src/libglusterfsclient.c @@ -3367,9 +3367,8 @@ out: } int -glusterfs_lsetxattr (glusterfs_handle_t handle, const char *path, - const char *name, const void *value, size_t size, - int flags) +glusterfs_lsetxattr (const char *path, const char *name, const void *value, + size_t size, int flags) { int op_ret = -1; char vpath[PATH_MAX]; diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h index ad23e02a0..f047f5f9f 100755 --- a/libglusterfsclient/src/libglusterfsclient.h +++ b/libglusterfsclient/src/libglusterfsclient.h @@ -390,9 +390,8 @@ glusterfs_setxattr (const char *path, const char *name, const void *value, size_t size, int flags); int -glusterfs_lsetxattr (glusterfs_handle_t handle, const char *path, - const char *name, const void *value, size_t size, - int flags); +glusterfs_lsetxattr (const char *path, const char *name, const void *value, + size_t size, int flags); int glusterfs_fsetxattr (glusterfs_file_t fd, const char *name, const void *value, -- cgit