Skip to content

Commit

Permalink
[CIFS] warn if both dynperm and cifsacl mount options specified
Browse files Browse the repository at this point in the history
Signed-off-by: Steve French <sfrench@us.ibm.com>
  • Loading branch information
Steve French committed May 23, 2008
1 parent 4ca691a commit 27adb44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 27adb44

Please sign in to comment.