summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf_item.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2015-01-22 09:10:33 +1100
committerDave Chinner <david@fromorbit.com>2015-01-22 09:10:33 +1100
commit074e427ba7f7398427e4f8e2aec071edcc509673 (patch)
tree8cb840a1a507e0c1c06fee397d533b0274d89939 /fs/xfs/xfs_buf_item.c
parent61e63ecb577f9b56bfb3182f1215b64e37a12c38 (diff)
downloadlinux-074e427ba7f7398427e4f8e2aec071edcc509673.tar.bz2
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 <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf_item.c')
0 files changed, 0 insertions, 0 deletions