diff options
author | Nathan Scott <nathans@sgi.com> | 2006-09-07 06:27:23 +0200 |
---|---|---|
committer | David Chatterton <chatz@sgi.com> | 2006-09-07 06:27:23 +0200 |
commit | 0edc7d0f3709e8c3bb7e69c4df614218a753361e (patch) | |
tree | 5501b75c9e0900d3344fc01d32fb8fc8a353ff9a /fs/xfs/quota | |
parent | [XFS] Fix xfs_splice_write() so appended data gets to disk. (diff) | |
download | linux-0edc7d0f3709e8c3bb7e69c4df614218a753361e.tar.xz linux-0edc7d0f3709e8c3bb7e69c4df614218a753361e.zip |
[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: Nathan Scott <nathans@sgi.com>
Signed-off-by: David Chatterton <chatz@sgi.com>
Diffstat (limited to 'fs/xfs/quota')
-rw-r--r-- | fs/xfs/quota/xfs_qm_bhv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/quota/xfs_qm_bhv.c b/fs/xfs/quota/xfs_qm_bhv.c index f137856c3261..db8872be8c87 100644 --- a/fs/xfs/quota/xfs_qm_bhv.c +++ b/fs/xfs/quota/xfs_qm_bhv.c @@ -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)) |