Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0edc7d0f authored by Nathan Scott's avatar Nathan Scott Committed by David Chatterton
Browse files

[XFS] Fix a bad pointer dereference in the quota statvfs handling.



SGI-PV: 955993
SGI-Modid: xfs-linux-melb:xfs-kern:26934a

Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
Signed-off-by: default avatarDavid Chatterton <chatz@sgi.com>
parent 0a8d17d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ xfs_qm_statvfs(
	if (error || !vnode)
		return error;

	mp = XFS_BHVTOM(bhv);
	mp = xfs_vfstom(bhvtovfs(bhv));
	ip = xfs_vtoi(vnode);

	if (!(ip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT))