summaryrefslogtreecommitdiff
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-02-24 00:15:00 +0300
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-03-02 07:23:07 +0300
commit1ae04b252351188cfa66af1b8b0628512a72dd7b (patch)
tree2fb243daed982b98ef8fe8b53857bccde05921bb /fs/nfs/dir.c
parent6c441c254eea2354d686be7f5544bcd79fb6a61f (diff)
downloadlinux-1ae04b252351188cfa66af1b8b0628512a72dd7b.tar.xz
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 'fs/nfs/dir.c')
0 files changed, 0 insertions, 0 deletions