projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ca691a
)
[CIFS] warn if both dynperm and cifsacl mount options specified
author
Steve French
<sfrench@us.ibm.com>
Fri, 23 May 2008 19:43:29 +0000
(19:43 +0000)
committer
Steve French
<sfrench@us.ibm.com>
Fri, 23 May 2008 19:43:29 +0000
(19:43 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/connect.c
b/fs/cifs/connect.c
index 023434f72c156dd41576f2243517ef2760de6a2d..d49e274f8eba4a8efebf5413f1bb677944564ede 100644
(file)
--- a/
fs/cifs/connect.c
+++ b/
fs/cifs/connect.c
@@
-2120,6
+2120,10
@@
cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_DIRECT_IO;
}
+ if ((volume_info.cifs_acl) && (volume_info.dynperm))
+ cERROR(1, ("mount option dynperm ignored if cifsacl "
+ "mount option supported"));
+
tcon =
find_unc(sin_server.sin_addr.s_addr, volume_info.UNC,
volume_info.username);