From: Dave Chinner Date: Wed, 21 Jan 2015 22:10:33 +0000 (+1100) Subject: xfs: sanitise sb_bad_features2 handling X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~141^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=074e427ba7f7398427e4f8e2aec071edcc509673;p=pandora-kernel.git xfs: sanitise sb_bad_features2 handling We currently have to ensure that every time we update sb_features2 that we update sb_bad_features2. Now that we log and format the superblock in it's entirety we actually don't have to care because we can simply update the sb_bad_features2 when we format it into the buffer. This removes the need for anything but the mount and superblock formatting code to care about sb_bad_features2, and hence removes the possibility that we forget to update bad_features2 when necessary in the future. Signed-off-by: Dave Chinner Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- Reading git-diff-tree failed