diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-07 13:22:46 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-07 13:22:46 -0500 |
commit | 6926afd1925a54a13684ebe05987868890665e2b (patch) | |
tree | 14dd0c00c757277d6f28b732c08206376e6dbf31 /kernel/cpuset.c | |
parent | e2fecb215b321db0e4a5b2597349a63c07bec42f (diff) |
NFSv4: Save the owner/group name string when doing open
...so that we can do the uid/gid mapping outside the asynchronous RPC
context.
This fixes a bug in the current NFSv4 atomic open code where the client
isn't able to determine what the true uid/gid fields of the file are,
(because the asynchronous nature of the OPEN call denies it the ability
to do an upcall) and so fills them with default values, marking the
inode as needing revalidation.
Unfortunately, in some cases, the VFS will do some additional sanity
checks on the file, and may override the server's decision to allow
the open because it sees the wrong owner/group fields.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions