summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-11-18 01:17:49 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-18 21:14:45 -0800
commit95d31d089ed8e8a1bb90377160ac0bccdd47b6c0 (patch)
treee8db2a9f4f3557e95b0302e238114885d661f5f7
parent8d22d68815fbd27e7ef1b4b2f5bb70c3d82ddb96 (diff)
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 <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 369 (Samba does not work with booster.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=369
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.c5
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.h5
2 files changed, 4 insertions, 6 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c
index c241f1fc3f4..3cc1d505f1b 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 ad23e02a0cd..f047f5f9f81 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,