summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorGaurav <gaurav@gluster.com>2011-04-08 00:54:20 +0000
committerVijay Bellur <vijay@gluster.com>2011-04-08 02:35:50 -0700
commitb1e0fa2a2313cc7794bf4c459c891701dde9f2e0 (patch)
tree2657b021f9c924805f9a0bd8b83b444966167e4a /xlators
parentf7fda5b961822551695306757b1bc29b0c30115f (diff)
NFS : Exclusive Create storing verifier.
Signed-off-by: Gaurav <gaurav@gluster.com> Signed-off-by: Vijay Bellur <vijay@gluster.com> BUG: 2553 (NFS file create with Mac client and UNCHECKED mode returns "Operation not permitted") URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2553
Diffstat (limited to 'xlators')
-rw-r--r--xlators/nfs/server/src/nfs3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/nfs3.c b/xlators/nfs/server/src/nfs3.c
index 11b4ede17..e43b666d8 100644
--- a/xlators/nfs/server/src/nfs3.c
+++ b/xlators/nfs/server/src/nfs3.c
@@ -2437,8 +2437,8 @@ nfs3_create_exclusive (nfs3_call_state_t *cs)
/* Storing verifier as a mtime and atime attribute, to store it
* in stable storage */
- cs->stbuf.ia_atime = (cs->cookieverf && 0xFFFFFFFF00000000);
- cs->stbuf.ia_mtime = (cs->cookieverf && 0x00000000FFFFFFFF);
+ cs->stbuf.ia_atime = (cs->cookieverf & 0xFFFFFFFF00000000);
+ cs->stbuf.ia_mtime = (cs->cookieverf & 0x00000000FFFFFFFF);
cs->setattr_valid |= GF_SET_ATTR_ATIME;
cs->setattr_valid |= GF_SET_ATTR_MTIME;
nfs_request_user_init (&nfu, cs->req);