diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2008-04-28 02:16:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 08:58:47 -0700 |
commit | e97e8de388723f9491514fa0434ddf1fd713a188 (patch) | |
tree | 582513162e3e9406a02d6de8a09af76da3839400 /Documentation | |
parent | 1278fdd34b12214b5c2e91e64848a5e54e57ed96 (diff) | |
download | op-kernel-dev-e97e8de388723f9491514fa0434ddf1fd713a188.zip op-kernel-dev-e97e8de388723f9491514fa0434ddf1fd713a188.tar.gz |
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')
0 files changed, 0 insertions, 0 deletions