diff options
author | Chao Yu <chao2.yu@samsung.com> | 2013-12-21 05:02:14 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-22 20:26:03 -0500 |
commit | 4f4124d0b99682efa7307191a28ec050872d2079 (patch) | |
tree | af2ba4a8c2dba592834e7aea6dede7f680453bdd /fs/f2fs/dir.c | |
parent | 7e8f23081ab3a11de90d7389f2c6fd44676c8df9 (diff) |
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/dir.c')
-rw-r--r-- | fs/f2fs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index 0cc26ba07c3b..28206109a293 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c | |||
@@ -432,8 +432,8 @@ next: | |||
432 | } | 432 | } |
433 | 433 | ||
434 | /* | 434 | /* |
435 | * Caller should grab and release a mutex by calling mutex_lock_op() and | 435 | * Caller should grab and release a rwsem by calling f2fs_lock_op() and |
436 | * mutex_unlock_op(). | 436 | * f2fs_unlock_op(). |
437 | */ | 437 | */ |
438 | int __f2fs_add_link(struct inode *dir, const struct qstr *name, struct inode *inode) | 438 | int __f2fs_add_link(struct inode *dir, const struct qstr *name, struct inode *inode) |
439 | { | 439 | { |