Unionfs: remove unnecessary lock in read_inode
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 25 Dec 2007 21:55:17 +0000 (16:55 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 23 Mar 2008 03:49:14 +0000 (23:49 -0400)
commit33baea84c12eabebfb0fc748a2d24126f475b7f3
tree787ad68809d29968e59c6e6c22e16539969e55ef
parenta8720176942c24c18ee9a907741067be676148de
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