]> git.openpandora.org Git - pandora-kernel.git/commitdiff
ext4: flush the extent status cache during EXT4_IOC_SWAP_BOOT
authorTheodore Ts'o <tytso@mit.edu>
Mon, 12 Aug 2013 13:29:30 +0000 (09:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 12 Aug 2013 13:29:30 +0000 (09:29 -0400)
Previously we weren't swapping only some of the extent_status LRU
fields during the processing of the EXT4_IOC_SWAP_BOOT ioctl.  The
much safer thing to do is to just completely flush the extent status
tree when doing the swap.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Zheng Liu <gnehzuil.liu@gmail.com>
Cc: stable@vger.kernel.org
fs/ext4/ioctl.c

diff --cc fs/ext4/ioctl.c
Simple merge