diff options
author | 2009-09-04 11:59:32 -0400 | |
---|---|---|
committer | 2009-09-04 11:59:32 -0400 | |
commit | 1be10a88cac5e589cdd2bcb0cf6a13ed30bcc233 (patch) | |
tree | 2d4b7fe5a1d45162d38388206772644486cd1328 /mm | |
parent | NFSd: Fix filehandle leak in exp_pseudoroot() and nfsd4_path() (diff) | |
download | wireguard-linux-1be10a88cac5e589cdd2bcb0cf6a13ed30bcc233.tar.xz wireguard-linux-1be10a88cac5e589cdd2bcb0cf6a13ed30bcc233.zip |
nfsd4: filehandle leak or error exit from fh_compose()
A number of callers (nfsd4_encode_fattr(), at least) don't bother to
release the filehandle returned to fh_compose() if fh_compose() returns
an error. So, modify fh_compose() to release the filehandle before
returning an error.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions