]> rtime.felk.cvut.cz Git - linux-imx.git/commit
pipe: fix failure to return error code on ->confirm()
authorNicolas Kaiser <nikai@nikai.net>
Thu, 21 Oct 2010 12:56:00 +0000 (14:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Nov 2010 18:59:52 +0000 (10:59 -0800)
commitea8ef5f07004708a74cf6c29a43b41db3a58dec8
treeb7e6a1d2284b7454a2eaa6607f105236f8011e8a
parent5ed216a908c5273995b2c65c14639c8b3448b065
pipe: fix failure to return error code on ->confirm()

commit e5953cbdff26f7cbae7eff30cd9b18c4e19b7594 upstream.

The arguments were transposed, we want to assign the error code to
'ret', which is being returned.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/pipe.c