]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Clean up nfs4_atomic_open
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 17 Sep 2010 14:56:50 +0000 (10:56 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 17 Sep 2010 14:56:50 +0000 (10:56 -0400)
commitd0201d553a3488c96643dca9e5d38c8fa44ee3f2
tree900c2bf6ba75c2a02af07091afcf4ba4cfdb2396
parente6f21d3435fa342d670258dedb9f7a0936b083b5
NFSv4: Clean up nfs4_atomic_open

Start moving the 'struct nameidata' dependent code out of the lower level
NFS code in preparation for the removal of open intents.

Instead of the struct nameidata, we pass down a partially initialised
struct nfs_open_context that will be fully initialised by the atomic open
upon success.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
fs/nfs/inode.c
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
include/linux/nfs_fs.h