aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/nfs4proc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 7ffbb98ddec3..6b44bbfb7d8a 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -2273,8 +2273,7 @@ static int nfs4_get_referral(struct inode *dir, const struct qstr *name, struct
2273out: 2273out:
2274 if (page) 2274 if (page)
2275 __free_page(page); 2275 __free_page(page);
2276 if (locations) 2276 kfree(locations);
2277 kfree(locations);
2278 return status; 2277 return status;
2279} 2278}
2280 2279