diff options
author | Steve French | 2008-05-23 21:43:29 +0200 |
---|---|---|
committer | Steve French | 2008-05-23 21:43:29 +0200 |
commit | 27adb44c4f671d15932eb0702a09d27244a8a7c1 (patch) | |
tree | 0ccc6e506a9ed7e85c18bec6c3603a9a257e6786 /fs/cifs | |
parent | silently ignore ownership changes unless unix extensions are enabled or we're... (diff) | |
download | kernel-qcow2-linux-27adb44c4f671d15932eb0702a09d27244a8a7c1.tar.gz kernel-qcow2-linux-27adb44c4f671d15932eb0702a09d27244a8a7c1.tar.xz kernel-qcow2-linux-27adb44c4f671d15932eb0702a09d27244a8a7c1.zip |
[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.c | 4 |
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, 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); |