]> err.no Git - linux-2.6/commit
[PATCH] protect ext3 ioctl modifying append_only, immutable, etc. with i_mutex
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 26 Apr 2006 06:32:40 +0000 (07:32 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 26 Apr 2006 14:52:21 +0000 (07:52 -0700)
commita090d9132c1e53e3517111123680c15afb25c0a4
tree7654cbd50a49d1140c71112ce79387bfbc6c0c86
parent6ad0013b316367671ef316cff91ab2d912e309c9
[PATCH] protect ext3 ioctl modifying append_only, immutable, etc. with i_mutex

All modifications of ->i_flags in inodes that might be visible to
somebody else must be under ->i_mutex.  That patch fixes ext3 ioctl()
setting S_APPEND and friends.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/ioctl.c