-
- Downloads
jbd: Split updating of journal superblock and marking journal empty
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:
Jan Kara <jack@suse.cz>
Showing
- fs/jbd/checkpoint.c 1 addition, 1 deletionfs/jbd/checkpoint.c
- fs/jbd/commit.c 1 addition, 1 deletionfs/jbd/commit.c
- fs/jbd/journal.c 97 additions, 67 deletionsfs/jbd/journal.c
- include/linux/jbd.h 1 addition, 1 deletioninclude/linux/jbd.h
- include/trace/events/jbd.h 4 additions, 8 deletionsinclude/trace/events/jbd.h
Loading
Please register or sign in to comment