]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFSv4.1: Enable open-by-filehandle
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 15 Mar 2013 20:44:28 +0000 (16:44 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 25 Mar 2013 16:04:11 +0000 (12:04 -0400)
commit49f9a0fafd844c32f2abada047c0b9a5ba0d6255
tree6d9e04bc2b73c16dfefa58362cfa3d5e200cddb2
parentd9fc6619ca98943d56d2931ce9e4caa4039fd0f1
NFSv4.1: Enable open-by-filehandle

Sometimes, we actually _want_ to do open-by-filehandle, for instance
when recovering opens after a network partition, or when called
from nfs4_file_open.
Enable that functionality using a new capability NFS_CAP_ATOMIC_OPEN_V1,
and which is only enabled for NFSv4.1 servers that support it.

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