summaryrefslogtreecommitdiffstats
path: root/kernel/fs/nfs/nfs42proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/nfs/nfs42proc.c')
-rw-r--r--kernel/fs/nfs/nfs42proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fs/nfs/nfs42proc.c b/kernel/fs/nfs/nfs42proc.c
index 6b1ce9825..7f1a0fb8c 100644
--- a/kernel/fs/nfs/nfs42proc.c
+++ b/kernel/fs/nfs/nfs42proc.c
@@ -269,6 +269,7 @@ int nfs42_proc_layoutstats_generic(struct nfs_server *server,
task = rpc_run_task(&task_setup);
if (IS_ERR(task))
return PTR_ERR(task);
+ rpc_put_task(task);
return 0;
}