projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1966903
)
NFSv4.1: Don't change the security label as part of open reclaim.
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 28 Oct 2013 18:50:38 +0000
(14:50 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 28 Oct 2013 18:50:38 +0000
(14:50 -0400)
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>
fs/nfs/nfs4proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index d2b4845ecb4d338aa7dee616a302c2aa7aacbd1d..8dd61eb86f6fe75f4840e4f7686f8bf093a2fb86 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-1337,8
+1337,6
@@
_nfs4_opendata_reclaim_to_nfs4_state(struct nfs4_opendata *data)
if (ret)
goto err;
- nfs_setsecurity(inode, &data->f_attr, data->f_label);
-
if (data->o_res.delegation_type != 0)
nfs4_opendata_check_deleg(data, state);
update_open_stateid(state, &data->o_res.stateid, NULL,