提交 0edc7d0f 编写于 作者: N Nathan Scott 提交者: David Chatterton

[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: NNathan Scott <nathans@sgi.com>
Signed-off-by: NDavid Chatterton <chatz@sgi.com>
上级 0a8d17d0
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册