> + parent = dget_parent(dentry); > + if (!parent) > + goto out_dput; > + > + if (parent->d_sb != sc->ip->i_mount->m_super) { > + dput(parent); > + goto out_dput; > + } ->d_parent can't point to outside the current sb.
> + parent = dget_parent(dentry); > + if (!parent) > + goto out_dput; > + > + if (parent->d_sb != sc->ip->i_mount->m_super) { > + dput(parent); > + goto out_dput; > + } ->d_parent can't point to outside the current sb.