HomeFreeBSD

Linux 6.15: mkdir now returns struct dentry *

Description

Linux 6.15: mkdir now returns struct dentry *

The intent is that the filesystem may have a reference to an "old"
version of the new directory, eg if it was keeping it alive because a
remote NFS client still had it open.

We don't need anything like that, so this really just changes things so
we return error codes encoded in pointers.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Pavel Snajdr <snajpa@snajpa.net>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #17229
(cherry picked from commit bb740d66de2b03a24bd7bfc9cef1844ad3e22a74)

Details

Provenance
rob.norris_klarasystems.comAuthored on Apr 4 2025, 5:59 AM
Tony Hutter <hutter2@llnl.gov>Committed on May 27 2025, 9:41 PM
Parents
rG050517c41b0c: icp: Use explicit_memset() exclusively in gcm_clear_ctx()
Branches
Unknown
Tags
Unknown