diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-23 16:15:00 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-03-01 23:23:07 -0500 |
commit | 1ae04b252351188cfa66af1b8b0628512a72dd7b (patch) | |
tree | 2fb243daed982b98ef8fe8b53857bccde05921bb /samples | |
parent | 6c441c254eea2354d686be7f5544bcd79fb6a61f (diff) | |
download | linux-1ae04b252351188cfa66af1b8b0628512a72dd7b.tar.bz2 |
NFSv3: Use the readdir fileid as the mounted-on-fileid
When we call readdirplus, set the fileid normally returned by readdir
as the mounted-on-fileid, since that is commonly the case if there is
a mountpoint. To ensure that we get it right, we only set the flag if
the readdir fileid differs from the one returned in the readdirplus
attributes.
This again means that we can avoid the issues described in commit
2ef47eb1aee17 ("NFS: Fix use of nfs_attr_use_mounted_on_fileid()"),
which only fixed NFSv4.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions