aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-05-22 09:31:40 -0400
committerSteve French <sfrench@us.ibm.com>2008-05-23 14:17:09 -0400
commit4468eb3fd102cad559e51594a01cbc65b994d264 (patch)
tree247fe6ab216b047e3f48aee07e845b17d2447ed7 /sound
parentaaa9bbe039febf1d3a0f3a374deea0680d9f5758 (diff)
on non-posix shares, clear write bits in mode when ATTR_READONLY is set
When mounting a share with posix extensions disabled, cifs_get_inode_info turns off all the write bits in the mode for regular files if ATTR_READONLY is set. Directories and other inode types, however, can also have ATTR_READONLY set, but the mode gives no indication of this. This patch makes this apply to other inode types besides regular files. It also cleans up how modes are set in cifs_get_inode_info for both the "normal" and "dynperm" cases. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions