diff options
author | Chao Yu <chao2.yu@samsung.com> | 2013-12-21 18:02:14 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-23 10:26:03 +0900 |
commit | 4f4124d0b99682efa7307191a28ec050872d2079 (patch) | |
tree | af2ba4a8c2dba592834e7aea6dede7f680453bdd /fs/f2fs/node.h | |
parent | 7e8f23081ab3a11de90d7389f2c6fd44676c8df9 (diff) | |
download | op-kernel-dev-4f4124d0b99682efa7307191a28ec050872d2079.zip op-kernel-dev-4f4124d0b99682efa7307191a28ec050872d2079.tar.gz |
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 3496bb3..c4c7988 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) { |