pipe: fix failure to return error code on ->confirm()
commita835be5be324ccd5c99b4f95d9f79e6ebdb63ad5
authorNicolas Kaiser <nikai@nikai.net>
Thu, 21 Oct 2010 12:56:00 +0000 (21 14:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Nov 2010 18:47:34 +0000 (22 10:47 -0800)
tree85af8004bab8e0043cb8ed638d297da2e82036f3
parent325d960fd9c0211aa32ecffb80edf430b9f9f87e
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