projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8d17d
)
[XFS] Fix a bad pointer dereference in the quota statvfs handling.
author
Nathan Scott
<nathans@sgi.com>
Thu, 7 Sep 2006 04:27:23 +0000
(14:27 +1000)
committer
David Chatterton
<chatz@sgi.com>
Thu, 7 Sep 2006 04:27:23 +0000
(14:27 +1000)
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>
fs/xfs/quota/xfs_qm_bhv.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/quota/xfs_qm_bhv.c
b/fs/xfs/quota/xfs_qm_bhv.c
index f137856c3261b3ebabf84345aa492c0897d3c932..db8872be8c87cfa5b8cef85569511db2c225f58b 100644
(file)
--- 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))