aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2012-11-28 23:28:09 -0500
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2012-12-10 23:43:42 -0500
commit0a8165d7c2cf1395059db20ab07665baf3758fcd (patch)
tree6036856230364c8301db6798bb442f44e608a098 /fs/f2fs/gc.c
parent25ca923b2a766b9c93b63777ead351137533a623 (diff)
f2fs: adjust kernel coding style
As pointed out by Randy Dunlap, this patch removes all usage of "/**" for comment blocks. Instead, just use "/*". Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/gc.c')
-rw-r--r--fs/f2fs/gc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 46774ce3ae03..3271be42c0b6 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -1,4 +1,4 @@
1/** 1/*
2 * fs/f2fs/gc.c 2 * fs/f2fs/gc.c
3 * 3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
@@ -213,7 +213,7 @@ static unsigned int get_gc_cost(struct f2fs_sb_info *sbi, unsigned int segno,
213 return get_cb_cost(sbi, segno); 213 return get_cb_cost(sbi, segno);
214} 214}
215 215
216/** 216/*
217 * This function is called from two pathes. 217 * This function is called from two pathes.
218 * One is garbage collection and the other is SSR segment selection. 218 * One is garbage collection and the other is SSR segment selection.
219 * When it is called during GC, it just gets a victim segment 219 * When it is called during GC, it just gets a victim segment
@@ -359,7 +359,7 @@ static int check_valid_map(struct f2fs_sb_info *sbi,
359 return ret ? GC_OK : GC_NEXT; 359 return ret ? GC_OK : GC_NEXT;
360} 360}
361 361
362/** 362/*
363 * This function compares node address got in summary with that in NAT. 363 * This function compares node address got in summary with that in NAT.
364 * On validity, copy that node with cold status, otherwise (invalid node) 364 * On validity, copy that node with cold status, otherwise (invalid node)
365 * ignore that. 365 * ignore that.
@@ -425,7 +425,7 @@ next_step:
425 return GC_DONE; 425 return GC_DONE;
426} 426}
427 427
428/** 428/*
429 * Calculate start block index that this node page contains 429 * Calculate start block index that this node page contains
430 */ 430 */
431block_t start_bidx_of_node(unsigned int node_ofs) 431block_t start_bidx_of_node(unsigned int node_ofs)
@@ -516,7 +516,7 @@ out:
516 f2fs_put_page(page, 1); 516 f2fs_put_page(page, 1);
517} 517}
518 518
519/** 519/*
520 * This function tries to get parent node of victim data block, and identifies 520 * This function tries to get parent node of victim data block, and identifies
521 * data block validity. If the block is valid, copy that with cold status and 521 * data block validity. If the block is valid, copy that with cold status and
522 * modify parent node. 522 * modify parent node.