aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/data.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/data.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/data.c')
-rw-r--r--fs/f2fs/data.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 5635cc5a9d4d..444c2a6fbaa0 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -1,4 +1,4 @@
1/** 1/*
2 * fs/f2fs/data.c 2 * fs/f2fs/data.c
3 * 3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
@@ -21,7 +21,7 @@
21#include "node.h" 21#include "node.h"
22#include "segment.h" 22#include "segment.h"
23 23
24/** 24/*
25 * Lock ordering for the change of data block address: 25 * Lock ordering for the change of data block address:
26 * ->data_page 26 * ->data_page
27 * ->node_page 27 * ->node_page
@@ -207,7 +207,7 @@ struct page *find_data_page(struct inode *inode, pgoff_t index)
207 return page; 207 return page;
208} 208}
209 209
210/** 210/*
211 * If it tries to access a hole, return an error. 211 * If it tries to access a hole, return an error.
212 * Because, the callers, functions in dir.c and GC, should be able to know 212 * Because, the callers, functions in dir.c and GC, should be able to know
213 * whether this page exists or not. 213 * whether this page exists or not.
@@ -247,7 +247,7 @@ struct page *get_lock_data_page(struct inode *inode, pgoff_t index)
247 return page; 247 return page;
248} 248}
249 249
250/** 250/*
251 * Caller ensures that this data page is never allocated. 251 * Caller ensures that this data page is never allocated.
252 * A new zero-filled data page is allocated in the page cache. 252 * A new zero-filled data page is allocated in the page cache.
253 */ 253 */
@@ -322,7 +322,7 @@ static void read_end_io(struct bio *bio, int err)
322 bio_put(bio); 322 bio_put(bio);
323} 323}
324 324
325/** 325/*
326 * Fill the locked page with data located in the block address. 326 * Fill the locked page with data located in the block address.
327 * Read operation is synchronous, and caller must unlock the page. 327 * Read operation is synchronous, and caller must unlock the page.
328 */ 328 */
@@ -367,7 +367,7 @@ int f2fs_readpage(struct f2fs_sb_info *sbi, struct page *page,
367 return 0; 367 return 0;
368} 368}
369 369
370/** 370/*
371 * This function should be used by the data read flow only where it 371 * This function should be used by the data read flow only where it
372 * does not check the "create" flag that indicates block allocation. 372 * does not check the "create" flag that indicates block allocation.
373 * The reason for this special functionality is to exploit VFS readahead 373 * The reason for this special functionality is to exploit VFS readahead