ext2: Explicitly assign values to on-disk enum of filetypes
authorJan Blunck <jblunck@suse.de>
Wed, 18 Nov 2009 16:10:56 +0000 (17:10 +0100)
committerJan Kara <jack@suse.cz>
Thu, 10 Dec 2009 14:02:51 +0000 (15:02 +0100)
commitad888a1f07a72fc7d19286b4ce5c154172a06eed
tree1eb22750947221b7e5ef0ae140c57d7bb705aef1
parentc56818d7dc976a7392be82e8e04fe26347d591f3
ext2: Explicitly assign values to on-disk enum of filetypes

It is somewhat dangerous to use a straight enum here, because this will
reassign values of later variables if one of the earlier ones is removed.

Signed-off-by: Jan Blunck <jblunck@suse.de>
Cc: Andreas Dilger <adilger@sun.com>
Signed-off-by: Jan Kara <jack@suse.cz>
include/linux/ext2_fs.h