From 5c7b78e13095402578d419c70d53c1e71fd28100 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 28 Oct 2003 17:49:06 +0000 Subject: [PATCH] - brown paper bug fixed: it seems I pressed dd randomly :( --- lustre/obdfilter/filter_io_24.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/obdfilter/filter_io_24.c b/lustre/obdfilter/filter_io_24.c index 68ee19b..f560ade 100644 --- a/lustre/obdfilter/filter_io_24.c +++ b/lustre/obdfilter/filter_io_24.c @@ -93,7 +93,8 @@ static int filter_direct_io(int rw, struct inode *inode, struct kiobuf *iobuf, cleanup_phase = 3; rc = fsfilt_commit_async(obd, inode, &oti->oti_handle); - GOTO(cleanup, rc); + if (rc) + GOTO(cleanup, rc); rc = brw_kiovec(WRITE, 1, &iobuf, inode->i_dev, iobuf->blocks, 1 << inode->i_blkbits); -- 1.8.3.1