Skip to content

Commit

Permalink
Btrfs: fix that check_int_data mount option was ignored
Browse files Browse the repository at this point in the history
The bitfield member mount_opt was too small by one bit to hold the mount
option that enabled to include data extents in the integrity checker.
Since the same issue happened when the BTRFS_MOUNT_PANIC_ON_FATAL_ERROR
option was added (git rebase silently merges so that the increase of the
size of the bitfield member is lost), the bit limit was removed entirely.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
  • Loading branch information
Stefan Behrens authored and David Sterba committed Apr 18, 2012
1 parent 5c84fc3 commit 25cd999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/ctree.h
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ struct btrfs_fs_info {
* is required instead of the faster short fsync log commits
*/
u64 last_trans_log_full_commit;
unsigned long mount_opt:21;
unsigned long mount_opt;
unsigned long compress_type:4;
u64 max_inline;
u64 alloc_start;
Expand Down

0 comments on commit 25cd999

Please sign in to comment.