]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: store EXT4_EXT_MIGRATE in i_state instead of i_flags
authorTheodore Ts'o <tytso@mit.edu>
Thu, 17 Sep 2009 12:32:22 +0000 (08:32 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Dec 2009 16:06:51 +0000 (08:06 -0800)
commit1f51991dec0bd679d172b55a86d54ca3f6227c51
tree1657b8ac2b1e7acead5cdbd920f8f9db427feeaf
parentd55f431a04b186cc1ede0f100a030c9dda25bd9c
ext4: store EXT4_EXT_MIGRATE in i_state instead of i_flags

(cherry picked from commit 1b9c12f44c1eb614fd3b8822bfe8f1f5d8e53737)

EXT4_EXT_MIGRATE is only intended to be used for an in-memory flag,
and the hex value assigned to it collides with FS_DIRECTIO_FL (which
is also stored in i_flags).  There's no reason for the
EXT4_EXT_MIGRATE bit to be stored in i_flags, so we switch it to use
i_state instead.

Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/migrate.c