diff options
author | ycnian@gmail.com <ycnian@gmail.com> | 2013-03-11 08:46:14 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-04-03 11:48:34 -0400 |
commit | 491402a7876e91aa491c33f70ed4e86e59f06c8b (patch) | |
tree | f8357ff807c5a480aa677f6a0cfaced45d5fa765 /arch/hexagon | |
parent | 9c6bdbb8dd58c8de8f36e1deb6b768918c85c249 (diff) | |
download | linux-491402a7876e91aa491c33f70ed4e86e59f06c8b.tar.bz2 |
nfsd: fix bug on nfs4 stateid deallocation
NFS4_OO_PURGE_CLOSE is not handled properly. To avoid memory leak, nfs4
stateid which is pointed by oo_last_closed_stid is freed in nfsd4_close(),
but NFS4_OO_PURGE_CLOSE isn't cleared meanwhile. So the stateid released in
THIS close procedure may be freed immediately in the coming encoding function.
Sorry that Signed-off-by was forgotten in last version.
Signed-off-by: Yanchuan Nian <ycnian@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'arch/hexagon')
0 files changed, 0 insertions, 0 deletions