summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-06-27 16:57:12 -0400
committerJonas ABERG <jonas.aberg@stericsson.com>2011-10-28 11:14:06 +0200
commitfffde1b690c399b634c0e50fa77e56d63f087daa (patch)
treecbf864458aa25a892f8c1b483a7ecba693ef95cc /fs/read_write.c
parentc76f3d21236fef9c3c9df45c2586e8a58d9fad82 (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> Change-Id: I028ed3e47f5ec50cae71a6e20464ddcf3921131e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35654 Tested-by: Per VAHLNE <per.xx.vahlne@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions