--- zzzz-none-000/linux-4.1.52/fs/overlayfs/inode.c 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/fs/overlayfs/inode.c 2022-03-02 11:37:13.000000000 +0000 @@ -393,6 +393,11 @@ ovl_path_upper(dentry, &realpath); } +#if defined(CONFIG_BCM_KF_OVERLAYFS_BACKPORTS) + if (realpath.dentry->d_flags & DCACHE_OP_SELECT_INODE) + return realpath.dentry->d_op->d_select_inode(realpath.dentry, file_flags); +#endif + return d_backing_inode(realpath.dentry); }