diff options
author | Jiro SEKIBA <jir@unicus.jp> | 2010-02-18 11:11:35 +0100 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-02-18 12:09:03 +0100 |
commit | 03f29365e84ff6d651be4e6186e0400ca59da6cd (patch) | |
tree | c017d0f58954acd7f5e15bd97fa0871eb4024da9 /drivers/char/.gitignore | |
parent | nilfs2: move iterator to write log into segment buffer (diff) | |
download | linux-03f29365e84ff6d651be4e6186e0400ca59da6cd.tar.xz linux-03f29365e84ff6d651be4e6186e0400ca59da6cd.zip |
nilfs2: delete unnecessary condition in load_segment_summary
This is a trivial patch to remove unnecessary condition.
load_segment_summary() checks crc of segment_summary OR crc of whole
log data blocks based on boolean argument full_check. However,
callers of the function pass only 1 as full_check, which means only
whole log data blocks checking code is running all the time.
This patch deletes the condition and full_check argument and also
deletes enum 'NILFS_SEG_FAIL_CHECKSUM_SEGSUM' and corresponding case
clause, for it is nolonger used anymore.
Signed-off-by: Jiro SEKIBA <jir@unicus.jp>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'drivers/char/.gitignore')
0 files changed, 0 insertions, 0 deletions