diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-05-10 15:07:32 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-14 17:30:26 -0700 |
commit | 2311b9439ce8c525f3f8f821fc2ca9a541f673a5 (patch) | |
tree | 6306764554cc50faf435297e190d3b38f1a39044 /fs/nfs/fscache.h | |
parent | bae36241be7fab16b2e987d31b6e6bd4456ac188 (diff) | |
download | linux-2311b9439ce8c525f3f8f821fc2ca9a541f673a5.tar.gz linux-2311b9439ce8c525f3f8f821fc2ca9a541f673a5.tar.bz2 linux-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.h | 4 |
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 *); |