diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2024-11-15 10:30:32 -0500 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2024-12-11 17:28:41 +0100 |
| commit | 5121711eb8dbcbed70b1db429a4665f413844164 (patch) | |
| tree | b0bd0dd289f4b86622cb7c5eb95764957336a392 /fs/btrfs/super.c | |
| parent | bb480760ffc7018e21ee6f60241c2b99ff26ee0e (diff) | |
fs: enable pre-content events on supported file systems
Now that all the code has been added for pre-content events, and the
various file systems that need the page fault hooks for fsnotify have
been updated, add SB_I_ALLOW_HSM to the supported file systems.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/46960dcb2725fa0317895ed66a8409ba1c306a82.1731684329.git.josef@toxicpanda.com
Diffstat (limited to 'fs/btrfs/super.c')
| -rw-r--r-- | fs/btrfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 97a85d180b61..fe6ecc3f1cab 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -961,7 +961,7 @@ static int btrfs_fill_super(struct super_block *sb, #endif sb->s_xattr = btrfs_xattr_handlers; sb->s_time_gran = 1; - sb->s_iflags |= SB_I_CGROUPWB; + sb->s_iflags |= SB_I_CGROUPWB | SB_I_ALLOW_HSM; err = super_setup_bdi(sb); if (err) { |
