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>
Thu, 16 Jun 2011 22:45:32 +0000 (15:45 -0700)
commit58531c5973d80567340dc0ce3e5b40f933f77791
treea53fce2241f7eabfca575a8efedcbfac78c2e42c
parent67f04f35189abb211dd8a263e962eef4e6768d40
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