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)
commit834f2a4a1554dc5b2598038b3fe8703defcbe467
treed27a000a2dd03029e6e2472c6e13801688185b51
parent039c4d7a82d8268ec71f59679460b41d0dd9b225
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