1879
1880
* clear the buffer dirty bit at latest at the moment when the
1880
1881
* transaction marking the buffer as freed in the filesystem
1881
1882
* structures is committed because from that moment on the
1883
1884
* Since the block hasn't been freed yet but the inode has
1884
1885
* already been added to orphan list, it is safe for us to add
1885
1886
* the buffer to BJ_Forget list of the newest transaction.
1887
1896
transaction = jh->b_transaction;
1888
1897
if (transaction == NULL) {