Skip to content

Commit

Permalink
Removing super_block flags
Browse files Browse the repository at this point in the history
When removing all the code for stable pages for direct IO writes for
Linux I forgot to remove the flags for the struct super_block. This
should have be removed previously. Now all code related to trying to get
stable pages on the Linux side should be completely removed from the
code.

Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
  • Loading branch information
bwatkinson committed Sep 10, 2024
1 parent 57053c5 commit 6a34939
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions module/os/linux/zfs/zfs_vfsops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1533,12 +1533,6 @@ zfs_domount(struct super_block *sb, zfs_mnt_t *zm, int silent)

sb->s_bdi->ra_pages = 0;

#if defined(SB_I_STABLE_WRITES)
sb->s_iflags |= SB_I_STABLE_WRITES;
#elif defined(BDI_CAP_STABLE_WRITES)
sb->s_bdi->capabilities |= BDI_CAP_STABLE_WRITES;
#endif

/* Set callback operations for the file system. */
sb->s_op = &zpl_super_operations;
sb->s_xattr = zpl_xattr_handlers;
Expand Down

0 comments on commit 6a34939

Please sign in to comment.