Unionfs: remove unnecessary lock in read_inode
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Dec 2007 22:08:50 +0000 (17:08 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Dec 2007 22:08:50 +0000 (17:08 -0500)
commit93353ac18f530a62e415656f890c3648189bfde4
tree64167546cb08a1fcccdac2ba61c835cb80c56528
parent67329e2cf64aec77eebb4ff1d32dd268fb96dd7b
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