aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2008-05-23 15:43:29 -0400
committerSteve French <sfrench@us.ibm.com>2008-05-23 15:43:29 -0400
commit27adb44c4f671d15932eb0702a09d27244a8a7c1 (patch)
tree0ccc6e506a9ed7e85c18bec6c3603a9a257e6786 /fs/cifs
parent4ca691a892e8ab4f79583de1394f17a7dcfa2b57 (diff)
[CIFS] warn if both dynperm and cifsacl mount options specified
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/connect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 023434f72c15..d49e274f8eba 100644
--- 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,
2120 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_DIRECT_IO; 2120 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_DIRECT_IO;
2121 } 2121 }
2122 2122
2123 if ((volume_info.cifs_acl) && (volume_info.dynperm))
2124 cERROR(1, ("mount option dynperm ignored if cifsacl "
2125 "mount option supported"));
2126
2123 tcon = 2127 tcon =
2124 find_unc(sin_server.sin_addr.s_addr, volume_info.UNC, 2128 find_unc(sin_server.sin_addr.s_addr, volume_info.UNC,
2125 volume_info.username); 2129 volume_info.username);