Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 870a5be8 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 7973c1f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment