f2fs: fix checkpatch warning
authorZhang Zhen <zhenzhang.zhang@huawei.com>
Sun, 4 May 2014 08:37:06 +0000 (16:37 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:59 +0000 (10:21 +0900)
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>
fs/f2fs/node.h

index 4ee29d506f8cb8e336ef1c21885f5846d6c98f14..7281112cd1c81445046ca90bc8b7711c7630ec9e 100644 (file)
@@ -59,12 +59,12 @@ struct nat_entry {
        do {                                                            \
                ne->checkpointed = false;                               \
                list_move_tail(&ne->list, &nm_i->dirty_nat_entries);    \
-       } while (0);
+       } while (0)
 #define __clear_nat_cache_dirty(nm_i, ne)                              \
        do {                                                            \
                ne->checkpointed = true;                                \
                list_move_tail(&ne->list, &nm_i->nat_entries);          \
-       } while (0);
+       } while (0)
 #define inc_node_version(version)      (++version)
 
 static inline void node_info_from_raw_nat(struct node_info *ni,