summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/glusterfs3-xdr.c
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2010-10-02 11:25:04 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-02 22:18:50 -0700
commit5a4e1e69b2ec65dcefa6b37b8ac7d058f3a2c29f (patch)
tree8cde801403426f6d8107f204fb76566008dba158 /rpc/xdr/src/glusterfs3-xdr.c
parent77085451a88878728e703215f9bf871a74df92ba (diff)
xdr: introduce extra flag in rmdir request
Signed-off-by: Anand V. Avati <avati@amp.gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'rpc/xdr/src/glusterfs3-xdr.c')
-rw-r--r--rpc/xdr/src/glusterfs3-xdr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/xdr/src/glusterfs3-xdr.c b/rpc/xdr/src/glusterfs3-xdr.c
index a6ebf5cf3..72f2070cf 100644
--- a/rpc/xdr/src/glusterfs3-xdr.c
+++ b/rpc/xdr/src/glusterfs3-xdr.c
@@ -385,6 +385,8 @@ xdr_gfs3_rmdir_req (XDR *xdrs, gfs3_rmdir_req *objp)
if (!xdr_opaque (xdrs, objp->pargfid, 16))
return FALSE;
+ if (!xdr_int (xdrs, &objp->flags))
+ return FALSE;
if (!xdr_string (xdrs, &objp->path, ~0))
return FALSE;
if (!xdr_string (xdrs, &objp->bname, ~0))