commit | 870a5be8b92151332da65021b7b21104e9c1de07 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Oct 05 12:07:23 2008 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Oct 07 17:29:49 2008 -0400 |
tree | 041ec4a0c5304ff74b7b1cd2c09a7d92e08d6cac | |
parent | 7973c1f15a0687f47ed70e591e4642d6fc4334d0 [diff] |
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>