summaryrefslogtreecommitdiffstats
path: root/fs/ramfs/internal.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2022-01-07 00:24:03 +0100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2022-01-07 17:59:31 +0100
commit1751fc1db36f6f411709e143d5393f92d12137a9 (patch)
tree0d6e8fefd8236b4b6ffe6a9665d66eee7e9246fb /fs/ramfs/internal.h
parentNFSv4: Handle case where the lookup of a directory fails (diff)
downloadlinux-1751fc1db36f6f411709e143d5393f92d12137a9.tar.xz
linux-1751fc1db36f6f411709e143d5393f92d12137a9.zip
NFSv4: nfs_atomic_open() can race when looking up a non-regular file
If the file type changes back to being a regular file on the server between the failed OPEN and our LOOKUP, then we need to re-run the OPEN. Fixes: 0dd2b474d0b6 ("nfs: implement i_op->atomic_open()") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/ramfs/internal.h')
0 files changed, 0 insertions, 0 deletions