reiserfs: suppress lockdep warning
authorJeff Mahoney <jeffm@suse.de>
Mon, 30 Apr 2007 22:09:50 +0000 (15:09 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 30 Apr 2007 23:40:40 +0000 (16:40 -0700)
commit1173a729fc3ce2fa0d698bd39be8ff7bf6c70bf1
tree562d53dc7faadcd431f87159d2e67512823372b2
parent42e380832a6911c8a3173ee0172fbc0e4864d80b
reiserfs: suppress lockdep warning

We're getting lockdep warnings due to a post-2.6.21-rc7 bugfix.

The xattr_sem can never be taken in the manner described. Internal inodes
are protected by I_PRIVATE.  Add the appropriate annotation.

Cc: <stable@kernel.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/xattr.c