diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-07-09 11:38:26 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-07-20 20:58:22 +0200 |
commit | 1ca4b88e7de23f6f86d2009101fe42d5b9dbf3de (patch) | |
tree | 999d7832f8e06ec7b6fbf255f30998952feeae0c /fs/nfsd/xdr4.h | |
parent | nfsd: Drop BUG_ON and ignore SECLABEL on absent filesystem (diff) | |
download | linux-1ca4b88e7de23f6f86d2009101fe42d5b9dbf3de.tar.xz linux-1ca4b88e7de23f6f86d2009101fe42d5b9dbf3de.zip |
nfsd: Fix a file leak on nfsd4_layout_setlease failure
If nfsd4_layout_setlease fails, nfsd will not put ls->ls_file.
Fix commit c5c707f96f "nfsd: implement pNFS layout recalls".
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
0 files changed, 0 insertions, 0 deletions