Staging: ramzswap: Flush block device before reset
authorNitin Gupta <ngupta@vflare.org>
Thu, 28 Jan 2010 15:43:38 +0000 (21:13 +0530)
committerMatt Sealey <matt@genesi-usa.com>
Fri, 10 Sep 2010 16:01:41 +0000 (11:01 -0500)
commitae5b62fb7e89403361da0ebca340af780c7d5b7f
treed2c1b92de59322ed631c6b14185f65b682c15e4c
parent459f19ae4fe8c3c6cc050ac7ef2d34ab7e23038f
Staging: ramzswap: Flush block device before reset

Make sure we flush block device before freeing all metadata
during reset ioctl.

Signed-off-by: Nitin Gupta <ngupta@vflar.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ramzswap/ramzswap_drv.c