linux-hardened/fs/nilfs2
Jiro SEKIBA 03f29365e8 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>
2010-02-18 20:09:03 +09:00
..
alloc.c nilfs2: insert cache operation in palloc get block routines 2009-11-20 10:05:51 +09:00
alloc.h nilfs2: add cache framework for persistent object allocator 2009-11-20 10:05:50 +09:00
bmap.c nilfs2: trivial coding style fix 2009-12-25 13:01:50 +09:00
bmap.h nilfs2: convert nilfs_bmap_lookup to an inline function 2009-09-14 18:27:16 +09:00
bmap_union.h nilfs2: integrated block mapping 2009-04-07 08:31:13 -07:00
btnode.c nilfs2: eliminate nilfs_btnode_get function 2009-11-20 10:05:50 +09:00
btnode.h nilfs2: eliminate nilfs_btnode_get function 2009-11-20 10:05:50 +09:00
btree.c nilfs2: use list_splice_tail or list_splice_tail_init 2009-11-29 02:50:46 +09:00
btree.h nilfs2: move definition of struct nilfs_btree_node 2009-11-20 10:05:46 +09:00
cpfile.c nilfs2: trivial coding style fix 2009-12-25 13:01:50 +09:00
cpfile.h nilfs2: separate read method of meta data files on super root block 2009-11-20 10:05:48 +09:00
dat.c nilfs2: delete unnecessary condition in nilfs_dat_translate 2010-02-13 12:26:03 +09:00
dat.h nilfs2: separate read method of meta data files on super root block 2009-11-20 10:05:48 +09:00
dir.c nilfs2: replace mark_inode_dirty as nilfs_mark_inode_dirty 2009-11-27 20:05:16 +09:00
direct.c nilfs2: trivial coding style fix 2009-12-25 13:01:50 +09:00
direct.h nilfs2: remove nilfs_direct_operations from direct mapping 2009-06-10 23:41:11 +09:00
file.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
gcdat.c nilfs2: flush palloc cache before manipulating data pages of GC dat 2009-11-20 10:05:50 +09:00
gcinode.c nilfs2: remove newblk argument from nilfs_btnode_submit_block 2009-11-20 10:05:50 +09:00
ifile.c nilfs2: add palloc cache to ifile 2009-11-20 10:05:50 +09:00
ifile.h nilfs2: separate constructor of metadata files 2009-11-20 10:05:48 +09:00
inode.c nilfs2: replace mark_inode_dirty as nilfs_mark_inode_dirty 2009-11-27 20:05:16 +09:00
ioctl.c nilfs2: use mnt_want_write in ioctls where write access is needed 2010-02-13 12:26:02 +09:00
Kconfig Revert "task_struct: make journal_info conditional" 2009-12-17 13:23:24 -08:00
Makefile nilfs2: update makefile and Kconfig 2009-04-07 08:31:16 -07:00
mdt.c nilfs2: add cache framework for persistent object allocator 2009-11-20 10:05:50 +09:00
mdt.h nilfs2: add cache framework for persistent object allocator 2009-11-20 10:05:50 +09:00
namei.c nilfs2: replace mark_inode_dirty as nilfs_mark_inode_dirty 2009-11-27 20:05:16 +09:00
nilfs.h const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
page.c nilfs2: ensure to clear dirty state when deleting metadata file block 2009-05-10 17:04:42 +09:00
page.h nilfs2: buffer and page operations 2009-04-07 08:31:13 -07:00
recovery.c nilfs2: delete unnecessary condition in load_segment_summary 2010-02-18 20:09:03 +09:00
sb.h nilfs2: simplify remaining sget() use 2009-06-11 21:36:18 -04:00
segbuf.c nilfs2: move iterator to write log into segment buffer 2010-02-13 12:26:03 +09:00
segbuf.h nilfs2: move iterator to write log into segment buffer 2010-02-13 12:26:03 +09:00
segment.c nilfs2: move iterator to write log into segment buffer 2010-02-13 12:26:03 +09:00
segment.h nilfs2: get rid of nilfs_segctor_req struct 2010-02-13 12:26:03 +09:00
sufile.c nilfs2: clean up get/put function of a segment usage 2009-11-20 10:05:51 +09:00
sufile.h nilfs2: clean up get/put function of a segment usage 2009-11-20 10:05:51 +09:00
super.c nilfs2: get rid of s_dirt flag use 2010-02-13 12:26:03 +09:00
the_nilfs.c nilfs2: issue discard request after cleaning segments 2010-02-13 12:26:02 +09:00
the_nilfs.h nilfs2: get rid of s_dirt flag use 2010-02-13 12:26:03 +09:00