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>
Fri, 20 Jun 2014 00:41:20 +0000 (20:41 -0400)
commit5931d16d93b67d8bf927159b02cc7d91c6a31697
tree92ba9fb7725994b8de7643c625cdce87fd80d16d
parente277a04b1c78bbd72626f414bf7c2baeafd092c0
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