summaryrefslogtreecommitdiff
path: root/fs/nfs/fscache.h
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-05-10 15:07:32 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-14 17:30:26 -0700
commit2311b9439ce8c525f3f8f821fc2ca9a541f673a5 (patch)
tree6306764554cc50faf435297e190d3b38f1a39044 /fs/nfs/fscache.h
parentbae36241be7fab16b2e987d31b6e6bd4456ac188 (diff)
downloadlinux-rpi-2311b9439ce8c525f3f8f821fc2ca9a541f673a5.tar.gz
linux-rpi-2311b9439ce8c525f3f8f821fc2ca9a541f673a5.tar.bz2
linux-rpi-2311b9439ce8c525f3f8f821fc2ca9a541f673a5.zip
NFS: Don't pass mount data to nfs_fscache_get_super_cookie()
I intend on creating a single nfs_fs_mount() function used by all our mount paths. To avoid checking between new mounts and clone mounts, I instead pass both structures to a new function in super.c that finds the cache key and then looks up the super cookie. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/fscache.h')
-rw-r--r--fs/nfs/fscache.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/fscache.h b/fs/nfs/fscache.h
index b9c572d0679f..2a08b9130ec1 100644
--- a/fs/nfs/fscache.h
+++ b/fs/nfs/fscache.h
@@ -73,9 +73,7 @@ extern void nfs_fscache_unregister(void);
extern void nfs_fscache_get_client_cookie(struct nfs_client *);
extern void nfs_fscache_release_client_cookie(struct nfs_client *);
-extern void nfs_fscache_get_super_cookie(struct super_block *,
- const char *,
- struct nfs_clone_mount *);
+extern void nfs_fscache_get_super_cookie(struct super_block *, const char *, int);
extern void nfs_fscache_release_super_cookie(struct super_block *);
extern void nfs_fscache_init_inode_cookie(struct inode *);