diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-26 08:42:24 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-26 08:43:51 -0400 |
commit | 59844a9bd73e084b0ffefc0e13226098e28c71ad (patch) | |
tree | 7b897c2530fe7083d57755df684d1d808fb18f8b /fs/nfs/dir.c | |
parent | 0a68b0bed08eeb7ec62e0125f17856b1ccb1ea4b (diff) |
NFS: Fix a lock imbalance typo in nfs_access_cache_shrinker
Commit 9c7e7e23371e629dbb3b341610a418cdf1c19d91 (NFS: Don't call iput() in
nfs_access_cache_shrinker) unintentionally removed the spin unlock for the
inode->i_lock.
Reported-by: David Howells <dhowells@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r-- | fs/nfs/dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index ee9a179ebdf3..db64854b7b09 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c | |||
@@ -1741,6 +1741,7 @@ remove_lru_entry: | |||
1741 | clear_bit(NFS_INO_ACL_LRU_SET, &nfsi->flags); | 1741 | clear_bit(NFS_INO_ACL_LRU_SET, &nfsi->flags); |
1742 | smp_mb__after_clear_bit(); | 1742 | smp_mb__after_clear_bit(); |
1743 | } | 1743 | } |
1744 | spin_unlock(&inode->i_lock); | ||
1744 | } | 1745 | } |
1745 | spin_unlock(&nfs_access_lru_lock); | 1746 | spin_unlock(&nfs_access_lru_lock); |
1746 | nfs_access_free_list(&head); | 1747 | nfs_access_free_list(&head); |