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>
Sat, 16 Aug 2014 02:29:45 +0000 (22:29 -0400)
commit7d653e594c090f253ff26bb92ee45011eb34dbcf
tree6350b3d9af71f73c19572cec5d6f00fa9a2682cd
parentd1e5bb741cd53840d7d8771fbaf0ac52c3baaf10
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