diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-10-05 12:07:23 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-10-07 17:29:49 -0400 |
commit | 870a5be8b92151332da65021b7b21104e9c1de07 (patch) | |
tree | 041ec4a0c5304ff74b7b1cd2c09a7d92e08d6cac /fs/ext3/resize.c | |
parent | 7973c1f15a0687f47ed70e591e4642d6fc4334d0 (diff) | |
download | op-kernel-dev-870a5be8b92151332da65021b7b21104e9c1de07.zip op-kernel-dev-870a5be8b92151332da65021b7b21104e9c1de07.tar.gz |
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 'fs/ext3/resize.c')
0 files changed, 0 insertions, 0 deletions