]> git.karo-electronics.de Git - karo-tx-linux.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, 21 Mar 2011 19:43:32 +0000 (12:43 -0700)
commitb96f78245da8bcb4eea3eee851de67aff2708cdf
tree253d5287ad7ce9ca4223b5f112a4c4bcd1b8d1d7
parent910a36c7e4bc6bac32c6c7c0a7f08208f5bfaaa5
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