diff options
author | Zhang Zhen <zhenzhang.zhang@huawei.com> | 2014-05-04 04:37:06 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-05-06 21:21:59 -0400 |
commit | 8b376249e7e659c41896e0d3e9b25d1230a4e7f6 (patch) | |
tree | 10d4ae9cc46239e4a85e4aa6c34c46ccf8178acc /fs/f2fs/node.h | |
parent | 8198899b94b74bb16c0b240483fd81269b199d2e (diff) |
f2fs: fix checkpatch warning
fix the following checkpatch warning:
WARNING: do {} while (0) macros should not be semicolon terminated
Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.h')
-rw-r--r-- | fs/f2fs/node.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h index 4ee29d506f8c..7281112cd1c8 100644 --- a/fs/f2fs/node.h +++ b/fs/f2fs/node.h | |||
@@ -59,12 +59,12 @@ struct nat_entry { | |||
59 | do { \ | 59 | do { \ |
60 | ne->checkpointed = false; \ | 60 | ne->checkpointed = false; \ |
61 | list_move_tail(&ne->list, &nm_i->dirty_nat_entries); \ | 61 | list_move_tail(&ne->list, &nm_i->dirty_nat_entries); \ |
62 | } while (0); | 62 | } while (0) |
63 | #define __clear_nat_cache_dirty(nm_i, ne) \ | 63 | #define __clear_nat_cache_dirty(nm_i, ne) \ |
64 | do { \ | 64 | do { \ |
65 | ne->checkpointed = true; \ | 65 | ne->checkpointed = true; \ |
66 | list_move_tail(&ne->list, &nm_i->nat_entries); \ | 66 | list_move_tail(&ne->list, &nm_i->nat_entries); \ |
67 | } while (0); | 67 | } while (0) |
68 | #define inc_node_version(version) (++version) | 68 | #define inc_node_version(version) (++version) |
69 | 69 | ||
70 | static inline void node_info_from_raw_nat(struct node_info *ni, | 70 | static inline void node_info_from_raw_nat(struct node_info *ni, |