summaryrefslogtreecommitdiffstats
path: root/kernel/mutex.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-05 18:07:23 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-07 23:29:49 +0200
commit870a5be8b92151332da65021b7b21104e9c1de07 (patch)
tree041ec4a0c5304ff74b7b1cd2c09a7d92e08d6cac /kernel/mutex.h
parentNFS: Add mount options for controlling the lookup cache (diff)
downloadlinux-870a5be8b92151332da65021b7b21104e9c1de07.tar.xz
linux-870a5be8b92151332da65021b7b21104e9c1de07.zip
NFS: Clean up nfs_refresh_inode() and nfs_post_op_update_inode()
Try to avoid taking and dropping the inode->i_lock more than once. Do so by moving the code in nfs_refresh_inode() that needs to be done under the spinlock into a function nfs_refresh_inode_locked(), and then having both nfs_refresh_inode() and nfs_post_op_update_inode() call it directly. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions