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>
Mon, 12 Jan 2009 23:20:48 +0000 (18:20 -0500)
commit918464f8c01e1cb8df7f0958a14e8ec1bf0f9884
tree4e7232cc46326fc6b9ef044c6f1af8f5820d6b0e
parentfab6215bda648c6688017cb2c410235d0943fa16
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