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, 23 Nov 2013 01:07:51 +0000 (20:07 -0500)
commit2259f892de9b026e07d66a92c7de3146015e46a6
tree28055b3d3f9521760a6dc406750f07c8f1fa94ec
parentb9dbb31af0e213fe6efc94f4914d9e21a52891d1
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