]> git.baikalelectronics.ru Git - kernel.git/commit
VFS: Allow the filesystem to return a full file pointer on open intent
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 18 Oct 2005 21:20:16 +0000 (14:20 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 18 Oct 2005 21:20:16 +0000 (14:20 -0700)
commit0229cecf0abe02afe9c8011e25285f83b9dbd67d
treed27a000a2dd03029e6e2472c6e13801688185b51
parent61a69a50c5a32499f8cfcbe4a0df10d039866447
VFS: Allow the filesystem to return a full file pointer on open intent

 This is needed by NFSv4 for atomicity reasons: our open command is in
 fact a lookup+open, so we need to be able to propagate open context
 information from lookup() into the resulting struct file's
 private_data field.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/exec.c
fs/namei.c
fs/open.c
include/linux/namei.h