diff options
author | Jim McDonough <jmcd@samba.org> | 2007-01-24 15:29:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:26 -0500 |
commit | 3f70efd4f97235272680bdb80dc3e52d0e56501b (patch) | |
tree | f5adcc4a784e415cd04e647beac26c171ca020f8 /source3/modules/gpfs.c | |
parent | 4b147350b8a8435320cf8fccc60724d7b8b776cc (diff) | |
download | samba-3f70efd4f97235272680bdb80dc3e52d0e56501b.tar.gz |
r21004: Patch from Mathias Dietz <MDIETZ@de.ibm.com> to fix multi-node
sharemodes in gpfs.
(This used to be commit 61841b225c2a09dcdb4b1242cb0ad0429ec1948e)
Diffstat (limited to 'source3/modules/gpfs.c')
-rw-r--r-- | source3/modules/gpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/gpfs.c b/source3/modules/gpfs.c index 3fec7a479dd..19050ad3ca5 100644 --- a/source3/modules/gpfs.c +++ b/source3/modules/gpfs.c @@ -57,7 +57,7 @@ BOOL set_gpfs_sharemode(files_struct *fsp, uint32 access_mask, DEBUG(10, ("special case am=no_access:%x\n",access_mask)); } else { - deny |= (share_access & (FILE_SHARE_WRITE|FILE_SHARE_DELETE)) ? + deny |= (share_access & FILE_SHARE_WRITE) ? 0 : GPFS_DENY_WRITE; deny |= (share_access & (FILE_SHARE_READ)) ? 0 : GPFS_DENY_READ; |