]> git.proxmox.com Git - mirror_zfs-debian.git/commit
Use sb->s_d_op default dentry operations
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 18 Jan 2013 22:11:40 +0000 (14:11 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 18 Jan 2013 23:04:23 +0000 (15:04 -0800)
commitee93035378ff1f0769bb4216dc35057a2f14f9b9
treef5e044f0670eefb9af4d23c91c5707926d5c0128
parentbabf3f9b6d9294b0a88457941d60af5d9d7b744d
Use sb->s_d_op default dentry operations

As of Linux 2.6.37 the right way to register custom dentry
operations is to use the super block's ->s_d_op field.
For older kernels they should be registered as part of the
lookup operation.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1223
config/kernel-dentry-operations.m4
config/kernel.m4
module/zfs/zfs_vfsops.c
module/zfs/zpl_inode.c