From: Trond Myklebust Date: Sun, 5 Oct 2008 16:07:23 +0000 (-0400) Subject: NFS: Clean up nfs_refresh_inode() and nfs_post_op_update_inode() X-Git-Tag: v2.6.28-rc1~266^2^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=870a5be8b92151332da65021b7b21104e9c1de07;p=pandora-kernel.git 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 --- Reading git-diff-tree failed