Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 83c78eb

Browse files
Trond MyklebustTrond Myklebust
authored andcommitted
NFSv4.1: Don't change the security label as part of open reclaim.
The current caching model calls for the security label to be set on first lookup and/or on any subsequent label changes. There is no need to do it as part of an open reclaim. Signed-off-by: Trond Myklebust <[email protected]>
1 parent 1966903 commit 83c78eb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/nfs/nfs4proc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,8 +1337,6 @@ _nfs4_opendata_reclaim_to_nfs4_state(struct nfs4_opendata *data)
13371337
if (ret)
13381338
goto err;
13391339

1340-
nfs_setsecurity(inode, &data->f_attr, data->f_label);
1341-
13421340
if (data->o_res.delegation_type != 0)
13431341
nfs4_opendata_check_deleg(data, state);
13441342
update_open_stateid(state, &data->o_res.stateid, NULL,

0 commit comments

Comments
 (0)