From: Jan Kara Date: Tue, 25 Nov 2014 16:53:47 +0000 (-0500) Subject: ext4: cleanup flag definitions for extent status tree X-Git-Tag: omap-for-v3.19/fixes-rc1~116^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=624d0f1dd7c80d2bac4fc3066b2ff3947f890883;p=pandora-kernel.git ext4: cleanup flag definitions for extent status tree Currently flags for extent status tree are defined twice, once shifted and once without a being shifted. Consolidate these definitions into one place and make some computations automatic to make adding flags less error prone. Compiler should be clever enough to figure out these are constants and generate the same code. Signed-off-by: Jan Kara Signed-off-by: Theodore Ts'o --- Reading git-diff-tree failed