]> git.baikalelectronics.ru Git - kernel.git/commit
reiserfs: turn of ATTR_KILL_S*ID at beginning of reiserfs_setattr
authorJeff Layton <jlayton@redhat.com>
Thu, 18 Oct 2007 10:05:19 +0000 (03:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:22 +0000 (14:37 -0700)
commitc5b36fe05e021d4e34e3296c9bc478839c5066b1
treee255e989145fe0147d602f36cab776864fb512d0
parent16e38cf5ad96b592a026eaeba8ab932ed939a13c
reiserfs: turn of ATTR_KILL_S*ID at beginning of reiserfs_setattr

reiserfs_setattr can call notify_change recursively using the same
iattr struct. This could cause it to trip the BUG() in notify_change.
Fix reiserfs to clear those bits near the beginning of the function.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: "Vladimir V. Saveliev" <vs@namesys.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/inode.c