diff options
author | Hongbo Li <lihongbo22@huawei.com> | 2024-05-22 11:04:22 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-05-27 15:58:46 +0200 |
commit | ef44c8ab06b300a5b9b30e5b630f491ac7bc4d3e (patch) | |
tree | 6531c17bfdd2b64cebe6e4090aa7990f49010d03 /fs/nfsd/nfsfh.c | |
parent | 3aa63a569c64e708df547a8913c84e64a06e7853 (diff) | |
download | lwn-ef44c8ab06b300a5b9b30e5b630f491ac7bc4d3e.tar.gz lwn-ef44c8ab06b300a5b9b30e5b630f491ac7bc4d3e.zip |
fs: fsconfig: intercept non-new mount API in advance for FSCONFIG_CMD_CREATE_EXCL command
fsconfig with FSCONFIG_CMD_CREATE_EXCL command requires the new mount api,
here we should return -EOPNOTSUPP in advance to avoid extra procedure.
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20240522030422.315892-1-lihongbo22@huawei.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/nfsd/nfsfh.c')
0 files changed, 0 insertions, 0 deletions