X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=inline;f=fs%2Fjbd%2Frevoke.c;fp=fs%2Fjbd%2Frevoke.c;h=6bbd73644e8f1a55d8240c5292eecd926be84e13;hb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;hp=1564a48163d285d4ba111357e52fdab5a759c463;hpb=c449269f45c2cdf53af08c8d0af37472f66539d9;p=linux-2.6.git diff --git a/fs/jbd/revoke.c b/fs/jbd/revoke.c index 1564a4816..6bbd73644 100644 --- a/fs/jbd/revoke.c +++ b/fs/jbd/revoke.c @@ -522,7 +522,7 @@ void journal_write_revoke_records(journal_t *journal, kmem_cache_free(revoke_record_cache, record); } } - if (descriptor) + if (descriptor) flush_descriptor(journal, descriptor, offset); jbd_debug(1, "Wrote %d revoke records\n", count); } @@ -606,7 +606,7 @@ static void flush_descriptor(journal_t *journal, header->r_count = htonl(offset); set_buffer_jwrite(bh); BUFFER_TRACE(bh, "write"); - set_buffer_uptodate(bh); + set_buffer_dirty(bh); ll_rw_block(WRITE, 1, &bh); } #endif