diff options
| author | Dave Chinner <[email protected]> | 2015-01-21 22:10:33 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2015-01-21 22:10:33 +0000 |
| commit | 074e427ba7f7398427e4f8e2aec071edcc509673 (patch) | |
| tree | 8cb840a1a507e0c1c06fee397d533b0274d89939 /lib/string_helpers.c | |
| parent | xfs: consolidate superblock logging functions (diff) | |
| download | kernel-074e427ba7f7398427e4f8e2aec071edcc509673.tar.gz kernel-074e427ba7f7398427e4f8e2aec071edcc509673.zip | |
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 <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
