diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-10-28 14:50:38 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-10-28 14:50:38 -0400 |
commit | 83c78eb0425f587a34a6644da79bdcde987dc974 (patch) | |
tree | b4078be78dff4aba4d96da7f2cbfe968580bb762 | |
parent | 1966903f8e28b31ff82de2e2180f0c066399288d (diff) |
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 <Trond.Myklebust@netapp.com>
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index d2b4845ecb4d..8dd61eb86f6f 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -1337,8 +1337,6 @@ _nfs4_opendata_reclaim_to_nfs4_state(struct nfs4_opendata *data) | |||
1337 | if (ret) | 1337 | if (ret) |
1338 | goto err; | 1338 | goto err; |
1339 | 1339 | ||
1340 | nfs_setsecurity(inode, &data->f_attr, data->f_label); | ||
1341 | |||
1342 | if (data->o_res.delegation_type != 0) | 1340 | if (data->o_res.delegation_type != 0) |
1343 | nfs4_opendata_check_deleg(data, state); | 1341 | nfs4_opendata_check_deleg(data, state); |
1344 | update_open_stateid(state, &data->o_res.stateid, NULL, | 1342 | update_open_stateid(state, &data->o_res.stateid, NULL, |