From: Jan Kara Date: Sat, 7 Apr 2012 10:33:03 +0000 (+0200) Subject: jbd: Split updating of journal superblock and marking journal empty X-Git-Tag: v3.5-rc1~87^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9754e39c7bc51328f145e933bfb0df47cd67b6e9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed