Unionfs: remove unnecessary lock in read_inode
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 10 Jan 2008 11:59:57 +0000 (06:59 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:30 +0000 (19:03 -0400)
commitac70a9331a32a3406c6c6353f50ddf5e84234d37
treed71dacebbe4d52ea663d46ad1a0d985329a6f020
parentae96ffa0227b44e844952de3d9814b3f7b945682
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