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, 11 Nov 2014 02:46:49 +0000 (21:46 -0500)
commit62661cb86fb63dc13c1299af59fdc4e0f2b998f6
treedf0dd3b7623153e0c839862b11b3eaea3a8c0542
parentc3b2c43caff659a8a7917070161358e13671a8da
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