diff options
| author | Tsutomu Itoh <[email protected]> | 2017-10-04 02:05:17 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2017-10-04 14:44:18 +0000 |
| commit | 69ad59767d094752c23c0fc180a79532fde073d0 (patch) | |
| tree | 953566fb25690a7f0245f3bbe6e5fdc6225bbffa /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | btrfs: avoid overflow when sector_t is 32 bit (diff) | |
| download | kernel-69ad59767d094752c23c0fc180a79532fde073d0.tar.gz kernel-69ad59767d094752c23c0fc180a79532fde073d0.zip | |
Btrfs: fix overlap of fs_info::flags values
Because the values of BTRFS_FS_EXCL_OP and BTRFS_FS_QUOTA_OVERRIDE overlap,
we should change the value.
First, BTRFS_FS_EXCL_OP was set to 14.
commit 171938e52807 ("btrfs: track exclusive filesystem operation in flags")
Next, the value of BTRFS_FS_QUOTA_OVERRIDE was set to 14.
commit f29efe292198 ("btrfs: add quota override flag to enable quota override for CAP_SYS_RESOURCE")
As a result, the value 14 overlapped, by accident.
This problem is solved by defining the value of BTRFS_FS_EXCL_OP as 16,
the flags are internal.
Fixes: f29efe292198 ("btrfs: add quota override flag to enable quota override for CAP_SYS_RESOURCE")
CC: [email protected] # 4.13+
Signed-off-by: Tsutomu Itoh <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ minimize the change, update only BTRFS_FS_EXCL_OP ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
