aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorVlad Apostolov <[email protected]>2007-11-23 05:27:51 +0000
committerLachlan McIlroy <[email protected]>2008-02-07 07:13:37 +0000
commitc319b58b13bb22f9a2478825b06c641c825f51ec (patch)
tree92d259656210a8bd698e02aac28b37c32d6a9e3e /fs/xfs/xfs_rtalloc.c
parent[XFS] 971186 Undo mod xfs-linux-melb:xfs-kern:29845a due to a regression (diff)
downloadkernel-c319b58b13bb22f9a2478825b06c641c825f51ec.tar.gz
kernel-c319b58b13bb22f9a2478825b06c641c825f51ec.zip
[XFS] Make xfs_bulkstat() to report unlinked but referenced inodes
We need xfs_bulkstat() to report inode stat for inodes with link count zero but reference count non zero. The fix here: http://oss.sgi.com/archives/xfs/2007-09/msg00266.html changed this behavior and made xfs_bulkstat() to filter all unlinked inodes including those that are not destroyed yet but held by reference. The attached patch returns back to the original behavior by marking the on-disk inode buffer "dirty" when di_mode is cleared (at that time both inode link and reference counter are zero). SGI-PV: 972004 SGI-Modid: xfs-linux-melb:xfs-kern:29914a Signed-off-by: Vlad Apostolov <[email protected]> Signed-off-by: David Chinner <[email protected]> Signed-off-by: Lachlan McIlroy <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions