]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: change enum migrate_mode with bitwise type
authorMinchan Kim <minchan@kernel.org>
Fri, 7 Sep 2012 00:23:55 +0000 (10:23 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 05:36:23 +0000 (15:36 +1000)
commit168f0fbf73d8878d7b836192cc88c78202f20618
tree987b054fe39e6b0c2127d88ed7ebbf4e10b62f9b
parent534c0e9f44ad107bb4969e673044a290765fb199
mm: change enum migrate_mode with bitwise type

Change migrate_mode type to bitwise type because next patch will add
MIGRATE_DISCARD and it could be ORed with other attributes so it would be
better to change it with bitwise type.

Suggested by Michal Nazarewicz.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/btrfs/disk-io.c
fs/hugetlbfs/inode.c
fs/nfs/internal.h
fs/nfs/write.c
include/linux/fs.h
include/linux/migrate.h
include/linux/migrate_mode.h
mm/migrate.c