aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-04 13:31:02 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:50 -0700
commited048fdc5b12ed243d1fd0293111f6802ccf573c (patch)
treead3cd3f8be66457ae85c5b0d52c3d304cd65fe2c /module
parentec6ba977b7d1ab7419a0d0e9a5cfdf428a1f61a1 (diff)
config: remove HAVE_D_REVALIDATE_NAMEIDATA
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16479
Diffstat (limited to 'module')
-rw-r--r--module/os/linux/zfs/zpl_ctldir.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/module/os/linux/zfs/zpl_ctldir.c b/module/os/linux/zfs/zpl_ctldir.c
index 8ee7fcecc..eb8788074 100644
--- a/module/os/linux/zfs/zpl_ctldir.c
+++ b/module/os/linux/zfs/zpl_ctldir.c
@@ -207,11 +207,7 @@ zpl_snapdir_automount(struct path *path)
* the snapshot being immediately unmounted.
*/
static int
-#ifdef HAVE_D_REVALIDATE_NAMEIDATA
-zpl_snapdir_revalidate(struct dentry *dentry, struct nameidata *i)
-#else
zpl_snapdir_revalidate(struct dentry *dentry, unsigned int flags)
-#endif
{
return (!!dentry->d_inode);
}