]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitcdd6fe6e2f7eb8e940854317613885c33b1fe584
treee255e989145fe0147d602f36cab776864fb512d0
parent8a0ce7d99a4d19788e017f3138bc59b9962057ae
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