diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2012-11-28 23:28:09 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2012-12-10 23:43:42 -0500 |
commit | 0a8165d7c2cf1395059db20ab07665baf3758fcd (patch) | |
tree | 6036856230364c8301db6798bb442f44e608a098 /fs/f2fs/node.c | |
parent | 25ca923b2a766b9c93b63777ead351137533a623 (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/node.c')
-rw-r--r-- | fs/f2fs/node.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 5d421fe22575..25d303646da7 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /** | 1 | /* |
2 | * fs/f2fs/node.c | 2 | * fs/f2fs/node.c |
3 | * | 3 | * |
4 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. | 4 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. |
@@ -81,7 +81,7 @@ static struct page *get_next_nat_page(struct f2fs_sb_info *sbi, nid_t nid) | |||
81 | return dst_page; | 81 | return dst_page; |
82 | } | 82 | } |
83 | 83 | ||
84 | /** | 84 | /* |
85 | * Readahead NAT pages | 85 | * Readahead NAT pages |
86 | */ | 86 | */ |
87 | static void ra_nat_pages(struct f2fs_sb_info *sbi, int nid) | 87 | static void ra_nat_pages(struct f2fs_sb_info *sbi, int nid) |
@@ -251,7 +251,7 @@ static int try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink) | |||
251 | return nr_shrink; | 251 | return nr_shrink; |
252 | } | 252 | } |
253 | 253 | ||
254 | /** | 254 | /* |
255 | * This function returns always success | 255 | * This function returns always success |
256 | */ | 256 | */ |
257 | void get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) | 257 | void get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) |
@@ -302,7 +302,7 @@ cache: | |||
302 | cache_nat_entry(NM_I(sbi), nid, &ne); | 302 | cache_nat_entry(NM_I(sbi), nid, &ne); |
303 | } | 303 | } |
304 | 304 | ||
305 | /** | 305 | /* |
306 | * The maximum depth is four. | 306 | * The maximum depth is four. |
307 | * Offset[0] will have raw inode offset. | 307 | * Offset[0] will have raw inode offset. |
308 | */ | 308 | */ |
@@ -649,7 +649,7 @@ fail: | |||
649 | return err; | 649 | return err; |
650 | } | 650 | } |
651 | 651 | ||
652 | /** | 652 | /* |
653 | * All the block addresses of data and nodes should be nullified. | 653 | * All the block addresses of data and nodes should be nullified. |
654 | */ | 654 | */ |
655 | int truncate_inode_blocks(struct inode *inode, pgoff_t from) | 655 | int truncate_inode_blocks(struct inode *inode, pgoff_t from) |
@@ -860,7 +860,7 @@ static int read_node_page(struct page *page, int type) | |||
860 | return f2fs_readpage(sbi, page, ni.blk_addr, type); | 860 | return f2fs_readpage(sbi, page, ni.blk_addr, type); |
861 | } | 861 | } |
862 | 862 | ||
863 | /** | 863 | /* |
864 | * Readahead a node page | 864 | * Readahead a node page |
865 | */ | 865 | */ |
866 | void ra_node_page(struct f2fs_sb_info *sbi, nid_t nid) | 866 | void ra_node_page(struct f2fs_sb_info *sbi, nid_t nid) |
@@ -910,7 +910,7 @@ struct page *get_node_page(struct f2fs_sb_info *sbi, pgoff_t nid) | |||
910 | return page; | 910 | return page; |
911 | } | 911 | } |
912 | 912 | ||
913 | /** | 913 | /* |
914 | * Return a locked page for the desired node page. | 914 | * Return a locked page for the desired node page. |
915 | * And, readahead MAX_RA_NODE number of node pages. | 915 | * And, readahead MAX_RA_NODE number of node pages. |
916 | */ | 916 | */ |
@@ -1186,7 +1186,7 @@ static int f2fs_release_node_page(struct page *page, gfp_t wait) | |||
1186 | return 0; | 1186 | return 0; |
1187 | } | 1187 | } |
1188 | 1188 | ||
1189 | /** | 1189 | /* |
1190 | * Structure of the f2fs node operations | 1190 | * Structure of the f2fs node operations |
1191 | */ | 1191 | */ |
1192 | const struct address_space_operations f2fs_node_aops = { | 1192 | const struct address_space_operations f2fs_node_aops = { |
@@ -1386,7 +1386,7 @@ retry: | |||
1386 | return true; | 1386 | return true; |
1387 | } | 1387 | } |
1388 | 1388 | ||
1389 | /** | 1389 | /* |
1390 | * alloc_nid() should be called prior to this function. | 1390 | * alloc_nid() should be called prior to this function. |
1391 | */ | 1391 | */ |
1392 | void alloc_nid_done(struct f2fs_sb_info *sbi, nid_t nid) | 1392 | void alloc_nid_done(struct f2fs_sb_info *sbi, nid_t nid) |
@@ -1403,7 +1403,7 @@ void alloc_nid_done(struct f2fs_sb_info *sbi, nid_t nid) | |||
1403 | spin_unlock(&nm_i->free_nid_list_lock); | 1403 | spin_unlock(&nm_i->free_nid_list_lock); |
1404 | } | 1404 | } |
1405 | 1405 | ||
1406 | /** | 1406 | /* |
1407 | * alloc_nid() should be called prior to this function. | 1407 | * alloc_nid() should be called prior to this function. |
1408 | */ | 1408 | */ |
1409 | void alloc_nid_failed(struct f2fs_sb_info *sbi, nid_t nid) | 1409 | void alloc_nid_failed(struct f2fs_sb_info *sbi, nid_t nid) |
@@ -1545,7 +1545,7 @@ retry: | |||
1545 | return true; | 1545 | return true; |
1546 | } | 1546 | } |
1547 | 1547 | ||
1548 | /** | 1548 | /* |
1549 | * This function is called during the checkpointing process. | 1549 | * This function is called during the checkpointing process. |
1550 | */ | 1550 | */ |
1551 | void flush_nat_entries(struct f2fs_sb_info *sbi) | 1551 | void flush_nat_entries(struct f2fs_sb_info *sbi) |