diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-06-27 16:57:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-04 21:58:40 -0700 |
commit | ecf6c7480f0c9aef2a39e8cb881ebd98bfcb8caa (patch) | |
tree | 7b720302df6f61033df24a1b5c1d42c25135b181 /fs/nfsd/xdr3.h | |
parent | f6d7de0ee45c2408056bb2a9e2b21ba86fbfd833 (diff) |
nfsd4: remember to put RW access on stateid destruction
commit 499f3edc23ca0431f3a0a6736b3a40944c81bf3b upstream.
Without this, for example,
open read
open read+write
close
will result in a struct file leak.
Regression from 7d94784293096c0a46897acdb83be5abd9278ece "nfsd4: fix
downgrade/lock logic".
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/nfsd/xdr3.h')
0 files changed, 0 insertions, 0 deletions