summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorDave Chinner2008-11-10 07:13:23 +0100
committerLachlan McIlroy2008-11-10 07:13:23 +0100
commit6307091fe69ae74747298bdcaf43119ad67bda3a (patch)
treec1feb80479b7ae4ebcf9a4336e50dfd18aebcb38 /fs/xfs/xfs_log.c
parent[XFS] fix uninitialised variable bug in dquot release (diff)
downloadkernel-qcow2-linux-6307091fe69ae74747298bdcaf43119ad67bda3a.tar.gz
kernel-qcow2-linux-6307091fe69ae74747298bdcaf43119ad67bda3a.tar.xz
kernel-qcow2-linux-6307091fe69ae74747298bdcaf43119ad67bda3a.zip
[XFS] Avoid using inodes that haven't been completely initialised
The radix tree walks in xfs_sync_inodes_ag and xfs_qm_dqrele_all_inodes() can find inodes that are still undergoing initialisation. Avoid them by checking for the the XFS_INEW() flag once we have a reference on the inode. This flag is cleared once the inode is properly initialised. SGI-PV: 987246 Signed-off-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
0 files changed, 0 insertions, 0 deletions