diff options
author | Jan Kara <jack@suse.cz> | 2012-04-07 12:33:03 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2012-05-15 23:34:36 +0200 |
commit | 9754e39c7bc51328f145e933bfb0df47cd67b6e9 (patch) | |
tree | d2fa043f74939d049d6934aea6ab7b1c272be8a5 /fs/ubifs/lprops.c | |
parent | f72cf5e223a28d3b3ea7dc9e40464fd534e359e8 (diff) | |
download | op-kernel-dev-9754e39c7bc51328f145e933bfb0df47cd67b6e9.zip op-kernel-dev-9754e39c7bc51328f145e933bfb0df47cd67b6e9.tar.gz |
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>
Diffstat (limited to 'fs/ubifs/lprops.c')
0 files changed, 0 insertions, 0 deletions