1. 26 10月, 2017 20 次提交
  2. 11 10月, 2017 12 次提交
  3. 05 10月, 2017 7 次提交
  4. 04 10月, 2017 1 次提交
    • T
      Btrfs: fix overlap of fs_info::flags values · 69ad5976
      Tsutomu Itoh 提交于
      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 171938e5 ("btrfs: track exclusive filesystem operation in flags")
      
      Next, the value of BTRFS_FS_QUOTA_OVERRIDE was set to 14.
      
        commit f29efe29 ("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: f29efe29 ("btrfs: add quota override flag to enable quota override for CAP_SYS_RESOURCE")
      CC: stable@vger.kernel.org # 4.13+
      Signed-off-by: NTsutomu Itoh <t-itoh@jp.fujitsu.com>
      Reviewed-by: NDavid Sterba <dsterba@suse.com>
      [ minimize the change, update only BTRFS_FS_EXCL_OP ]
      Signed-off-by: NDavid Sterba <dsterba@suse.com>
      69ad5976