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 19:03:06 +0000 (11:03 -0800)
commit6021775fb632a6d40271c1bb2694b92df5b9a414
treeacc3f87dff17ae0bdf09f3ccba6ee24865885f68
parent2089b63ad78385733a5512b79221cf47faf796e7
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