kernel_optimize_test/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_union.h
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
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
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
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
page.h
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