Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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>

authored by

Nathan Scott and committed by
David Chatterton
0edc7d0f 0a8d17d0

+1 -1
+1 -1
fs/xfs/quota/xfs_qm_bhv.c
··· 203 203 if (error || !vnode) 204 204 return error; 205 205 206 - mp = XFS_BHVTOM(bhv); 206 + mp = xfs_vfstom(bhvtovfs(bhv)); 207 207 ip = xfs_vtoi(vnode); 208 208 209 209 if (!(ip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT))