• Jan Kara's avatar
    jbd: Split updating of journal superblock and marking journal empty · 9754e39c
    Jan Kara authored
    There are three case of updating journal superblock. In the first case, we want
    to mark journal as empty (setting s_sequence to 0), in the second case we want
    to update log tail, in the third case we want to update s_errno. Split these
    cases into separate functions. It makes the code slightly more straightforward
    and later patches will make the distinction even more important.
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    9754e39c
commit.c 28.2 KB