don't reallocate sxp variable passed into xfs_swapext
authorEric Sandeen <sandeen@sandeen.net>
Mon, 26 Jan 2009 02:53:00 +0000 (20:53 -0600)
committerFelix Blyakher <felixb@sgi.com>
Tue, 27 Jan 2009 20:51:39 +0000 (14:51 -0600)
commitf0e0059b9c18426cffdcc04161062251a8f9741e
tree961ac9a97f77e55cd76d56f1f931caf8ac6f4114
parent74e2d06521913443c7e2697037909f5efc200ec5
don't reallocate sxp variable passed into xfs_swapext

fixes kernel.org bugzilla 12538, xfs_fsr fails on 2.6.29-rc kernels

Regression caused by 743bb4650da9e2595d6cedd01c680b5b9398c74a

This was an embarrasing mistake, reallocating the sxp pointer passed
in from the main ioctl switch.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net
Reported-by: Paul Martin <pm@debian.org>
Tested-by: Paul Martin <pm@debian.org>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
fs/xfs/xfs_dfrag.c