diff options
author | Chao Yu <chao2.yu@samsung.com> | 2013-12-21 11:02:14 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-23 02:26:03 +0100 |
commit | 4f4124d0b99682efa7307191a28ec050872d2079 (patch) | |
tree | af2ba4a8c2dba592834e7aea6dede7f680453bdd /fs/f2fs/node.h | |
parent | f2fs: remove the rw_flag domain from f2fs_io_info (diff) | |
download | linux-4f4124d0b99682efa7307191a28ec050872d2079.tar.xz linux-4f4124d0b99682efa7307191a28ec050872d2079.zip |
f2fs: update several comments
Update several comments:
1. use f2fs_{un}lock_op install of mutex_{un}lock_op.
2. update comment of get_data_block().
3. update description of node offset.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.h')
-rw-r--r-- | fs/f2fs/node.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h index 3496bb3e15dc..c4c79885c993 100644 --- a/fs/f2fs/node.h +++ b/fs/f2fs/node.h @@ -224,7 +224,13 @@ static inline block_t next_blkaddr_of_node(struct page *node_page) * | `- direct node (5 + N => 5 + 2N - 1) * `- double indirect node (5 + 2N) * `- indirect node (6 + 2N) - * `- direct node (x(N + 1)) + * `- direct node + * ...... + * `- indirect node ((6 + 2N) + x(N + 1)) + * `- direct node + * ...... + * `- indirect node ((6 + 2N) + (N - 1)(N + 1)) + * `- direct node */ static inline bool IS_DNODE(struct page *node_page) { |