summaryrefslogtreecommitdiff
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-12-23 20:21:46 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-12-23 20:21:46 (GMT)
commit515d86117724abe39d7d57d7ccc7cc5c44480529 (patch)
treedce297acebc94355217219893a5c6a81ca281ff7 /fs/nfs/super.c
parent9e33bed55239bdcee1746c31a11177d239bac1b5 (diff)
downloadlinux-fsl-qoriq-515d86117724abe39d7d57d7ccc7cc5c44480529.tar.xz
NFSv4: Clean up the support for returning multiple delegations
Add a flag to mark delegations as requiring return, then run a garbage collector. In the future, this will allow for more flexible delegation management, where delegations may be marked for return if it turns out that they are not being referenced. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index d8e062f..bd4c3dd 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -2433,7 +2433,7 @@ static void nfs4_kill_super(struct super_block *sb)
{
struct nfs_server *server = NFS_SB(sb);
- nfs_return_all_delegations(sb);
+ nfs_super_return_all_delegations(sb);
kill_anon_super(sb);
nfs4_renewd_prepare_shutdown(server);