Re: [PATCH 4/4] xfs: ask the dentry cache if it knows the parent of a directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +	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.





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux