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>
Sun, 23 Feb 2014 19:05:22 +0000 (14:05 -0500)
commita6522f57189f5e121c4c1509aaf1e96f7d5e5c64
treed7580031ffc371d2e0f2ac790e2ca3dc67dd9857
parent9bfefb5ca7b8ba464cedec87c0c35a5487608a82
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