HomeFreeBSD

Linux 6.12: f_version removed from struct file

Description

Linux 6.12: f_version removed from struct file

linux/torvalds@11068e0b64cb removes it, suggesting this was a always
there as a helper to handle concurrent seeks, which all filesystems now
handle themselves if necessary.

Without looking into the mechanism, I can imagine how it might have been
used, but we have always set it to zero and never read from it,
presumably because we've always tracked per-caller position through the
znode anyway. So I don't see how there can be any functional change for
us by removing it. I've stayed conservative though and left it in for
older kernels, since its clearly not hurting anything there.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16582

Details

Provenance
rob.norris_klarasystems.comAuthored on Sep 24 2024, 6:44 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 1 2024, 8:54 PM
Parents
rGdf3b9d881bd6: Linux 6.12: FMODE_UNSIGNED_OFFSET is now FOP_UNSIGNED_OFFSET
Branches
Unknown
Tags
Unknown