Unionfs: remove unnecessary lock in read_inode
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 21 Dec 2007 04:14:44 +0000 (23:14 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 02:32:27 +0000 (21:32 -0500)
commit23d5589557310abddb456d1d27fa020cb4407947
tree97bd4ae76fa8c5a4bb8b29e2110e3eed510a29f9
parent98bfee75220887a51536aea1625f30c2bdd9f0e7
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