pnfs-obj: don't leak objio_state if ore_write/read fails
authorBoaz Harrosh <bharrosh@panasas.com>
Fri, 8 Jun 2012 02:29:40 +0000 (05:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jul 2012 15:04:20 +0000 (08:04 -0700)
commit08603bdd6b0b65248921c8be05febe574dd78905
treee6703ffb7dd6035873999099cbb9e804ba7e9042
parentf6ecbea43e774dfc0b3678d2cdda9d4b43cfecf8
pnfs-obj: don't leak objio_state if ore_write/read fails

commit 9909d45a8557455ca5f8ee7af0f253debc851f1a upstream.

[Bug since 3.2 Kernel]
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/objlayout/objio_osd.c