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)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 17 Sep 2009 12:32:22 +0000 (08:32 -0400)
commit1b9c12f44c1eb614fd3b8822bfe8f1f5d8e53737
tree5de0737dd71557dadaa5e3f98d6e62bd3b9d7c51
parentfb0a387dcdcd21aab1b09ee7fd80b7c979bdbbfd
ext4: store EXT4_EXT_MIGRATE in i_state instead of i_flags

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>
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/migrate.c