summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust2007-10-09 18:01:04 +0200
committerTrond Myklebust2007-10-09 23:20:52 +0200
commitf43bf0bebed7c33b698a8a25f95812f9e87c3843 (patch)
tree20c527153cde564ca3517cf6f214fa32727542bb /include/linux/nfs_fs.h
parentNFS: nfs_refresh_inode should clear cache_validity flags on success (diff)
downloadkernel-qcow2-linux-f43bf0bebed7c33b698a8a25f95812f9e87c3843.tar.gz
kernel-qcow2-linux-f43bf0bebed7c33b698a8a25f95812f9e87c3843.tar.xz
kernel-qcow2-linux-f43bf0bebed7c33b698a8a25f95812f9e87c3843.zip
NFS: Add a boot parameter to disable 64 bit inode numbers
This boot parameter will allow legacy 32-bit applications which call stat() to continue to function even if the NFSv3/v4 server uses 64-bit inode numbers. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r--include/linux/nfs_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 0e0c2e0d3aa3..c5164c257f71 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -289,6 +289,7 @@ extern void nfs_setattr_update_inode(struct inode *inode, struct iattr *attr);
extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx);
extern void put_nfs_open_context(struct nfs_open_context *ctx);
extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, int mode);
+extern u64 nfs_compat_user_ino64(u64 fileid);
/* linux/net/ipv4/ipconfig.c: trims ip addr off front of name, too. */
extern __be32 root_nfs_parse_addr(char *name); /*__init*/