Unionfs: remove unnecessary lock in read_inode
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Dec 2007 22:02:52 +0000 (17:02 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Dec 2007 22:02:52 +0000 (17:02 -0500)
commitcaf76c40cab9d0d9a72c12f4d6855971eb382e61
treec4de5facad1c8f5861afc9f7f4c8b28ab9c1bc88
parent9d4788842e5d16f64f7f8cf7795afdad1c0edd7c
Unionfs: remove unnecessary lock in read_inode

Our read_inode doesn't need to grab the superblock rwsem because there no
chance it could be affected by branch management.  But our read_inode was
called from other places which did grab need to grab that rwsem, and lockdep
complained.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/super.c