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

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

NFS: Don't require a filehandle to refresh the inode in nfs_prime_dcache()



If the server does not return a valid set of attributes that we can
use to either create a file or refresh the inode, then there is no
value in calling nfs_prime_dcache().

However if we're just refreshing the inode using the attributes that
the server returned, then it shouldn't matter whether or not we have
a filehandle, as long as we check the fsid+fileid combination.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 1ae04b25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment