summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_plb.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-09-11 17:39:09 +0200
committerDarrick J. Wong <djwong@kernel.org>2023-09-12 19:31:08 +0200
commit34389616a963480b20ea7f997533380ae3946fba (patch)
treed6b2f81beaaf15d8f46efd69057789d65cbfc89a /net/ipv4/tcp_plb.c
parentxfs: make inode unlinked bucket recovery work with quotacheck (diff)
downloadlinux-34389616a963480b20ea7f997533380ae3946fba.tar.xz
linux-34389616a963480b20ea7f997533380ae3946fba.zip
xfs: require a relatively recent V5 filesystem for LARP mode
While reviewing the FIEXCHANGE code in XFS, I realized that the function that enables logged xattrs doesn't actually check that the superblock has a LOG_INCOMPAT feature bit field. Add a check to refuse the operation if we don't have a V5 filesystem... ...but on second though, let's require either reflink or rmap so that we only have to deal with LARP mode on relatively /modern/ kernel. 4.14 is about as far back as I feel like going. Seeing as LARP is a debugging-only option anyway, this isn't likely to affect any real users. Fixes: d9c61ccb3b09 ("xfs: move xfs_attr_use_log_assist out of xfs_log.c") Really-Fixes: f3f36c893f26 ("xfs: Add xfs_attr_set_deferred and xfs_attr_remove_deferred") Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
Diffstat (limited to 'net/ipv4/tcp_plb.c')
0 files changed, 0 insertions, 0 deletions