diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-12-01 05:14:27 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2020-12-09 15:39:38 +0100 |
commit | 716a8bc7f706eeef80ab42c99d9f210eda845c81 (patch) | |
tree | 4a4d44ee502a13cfecf8d64f582adfae278dcbf1 /fs/nfs | |
parent | nfsd: Set PF_LOCAL_THROTTLE on local filesystems only (diff) | |
download | linux-716a8bc7f706eeef80ab42c99d9f210eda845c81.tar.xz linux-716a8bc7f706eeef80ab42c99d9f210eda845c81.zip |
nfsd: Record NFSv4 pre/post-op attributes as non-atomic
For the case of NFSv4, specify to the client that the pre/post-op
attributes were not recorded atomically with the main operation.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/export.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/export.c b/fs/nfs/export.c index 48b879cfe6e3..7412bb164fa7 100644 --- a/fs/nfs/export.c +++ b/fs/nfs/export.c @@ -172,5 +172,6 @@ const struct export_operations nfs_export_ops = { .fh_to_dentry = nfs_fh_to_dentry, .get_parent = nfs_get_parent, .flags = EXPORT_OP_NOWCC|EXPORT_OP_NOSUBTREECHK| - EXPORT_OP_CLOSE_BEFORE_UNLINK|EXPORT_OP_REMOTE_FS, + EXPORT_OP_CLOSE_BEFORE_UNLINK|EXPORT_OP_REMOTE_FS| + EXPORT_OP_NOATOMIC_ATTR, }; |