summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2007-01-24 15:29:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:26 -0500
commit3f70efd4f97235272680bdb80dc3e52d0e56501b (patch)
treef5adcc4a784e415cd04e647beac26c171ca020f8 /source3
parent4b147350b8a8435320cf8fccc60724d7b8b776cc (diff)
downloadsamba-3f70efd4f97235272680bdb80dc3e52d0e56501b.tar.gz
samba-3f70efd4f97235272680bdb80dc3e52d0e56501b.tar.bz2
samba-3f70efd4f97235272680bdb80dc3e52d0e56501b.zip
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')
-rw-r--r--source3/modules/gpfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/gpfs.c b/source3/modules/gpfs.c
index 3fec7a479d..19050ad3ca 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;