]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use file_dentry and file_inode wrappers
authorChen Haiquan <oc@yunify.com>
Thu, 4 Aug 2016 15:57:35 +0000 (23:57 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 11 Aug 2016 19:06:37 +0000 (12:06 -0700)
commitd9c97ec08b995f1a36657accc4bbc6057645a72c
treef2262c55fe0e9a4cd656c90553f9e95d20e28000
parentd5884c3453c5de5892eaae672c5186ed02846113
Use file_dentry and file_inode wrappers

Fix bugs due to kernel change in torvalds/linux@4bacc9c9234c ("overlayfs:
Make f_path always point to the overlay and f_inode to the underlay").

This problem crashes system when use zfs as a layer of overlayfs.

Signed-off-by: Chen Haiquan <oc@yunify.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4914
Closes #4935
config/kernel-file-dentry.m4 [new file with mode: 0644]
config/kernel.m4
include/linux/vfs_compat.h
include/sys/zpl.h
module/zfs/zpl_ctldir.c
module/zfs/zpl_file.c