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, 31 Jan 2012 04:57:35 +0000 (23:57 -0500)
commite8e0715a6b3640a2fb62c93e5ac9f56f8301ba14
tree470fb338f9d29a5f627e9fb25b5abc1368cd33b9
parent772f9d9912f8b6d79b31b9b29b9f8cb341b9663f
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