diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2008-04-28 11:16:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 17:58:47 +0200 |
commit | e97e8de388723f9491514fa0434ddf1fd713a188 (patch) | |
tree | 582513162e3e9406a02d6de8a09af76da3839400 /Documentation/filesystems | |
parent | fat: fat_notify_change() and check_mode() cleanup (diff) | |
download | linux-e97e8de388723f9491514fa0434ddf1fd713a188.tar.xz linux-e97e8de388723f9491514fa0434ddf1fd713a188.zip |
fat: fat_setattr() fix
Fix fat_setattr() on the case of showexec option. If user specified
showexec option, inode->i_mode may not have S_IXUGO. This just use
inode->i_mode to fix it.
And with this patch, we don't allow chmod() on memory inode, it's just
bad behaviour. IOW, we allow changing S_IWUGO only which can be stored
to disk.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions