Up to [Development] / xfs-linux-nodel / linux-2.6
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.173 / (download) - annotate - [select for diffs], Wed Oct 29 05:22:52 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.172: +1 -0
lines
Diff to previous 1.172 (colored)
Fix race when looking up reclaimable inodes If we get a race looking up a reclaimable inode, we can end up with the winner proceeding to use the inode before it has been completely re-initialised. This is a Bad Thing. Fix the race by checking whether we are still initialising the inod eonce we have a reference to it, and if so wait for the initialisation to complete before continuing. While there, fix a leaked reference count in the same code when encountering an unlinked inode and we are not doing a lookup for a create operation. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32429a by kenmcd. Fix race when looking up reclaimable inodes