diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-04-23 07:59:06 +0200 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-05-14 23:21:02 +0200 |
commit | d4f3512b0891658b6b4d5fc99567242b3fc2d6b7 (patch) | |
tree | dfe5cd3093ed3d58cd2d9c1934b9821af8b530e3 /fs/xfs/xfs_extent_busy.c | |
parent | xfs: Properly exclude IO type flags from buffer flags (diff) | |
download | linux-d4f3512b0891658b6b4d5fc99567242b3fc2d6b7.tar.xz linux-d4f3512b0891658b6b4d5fc99567242b3fc2d6b7.zip |
xfs: flush outstanding buffers on log mount failure
When we fail to mount the log in xfs_mountfs(), we tear down all the
infrastructure we have already allocated. However, the process of
mounting the log may have progressed to the point of reading,
caching and modifying buffers in memory. Hence before we can free
all the infrastructure, we have to flush and remove all the buffers
from memory.
Problem first reported by Eric Sandeen, later a different incarnation
was reported by Ben Myers.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_extent_busy.c')
0 files changed, 0 insertions, 0 deletions