From: Huang Jianan <[email protected]>

Signed-off-by: Huang Jianan <[email protected]>
---
 fuse/main.c | 5 +----
 lib/inode.c | 4 ----
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/fuse/main.c b/fuse/main.c
index fca4d7f..8137421 100644
--- a/fuse/main.c
+++ b/fuse/main.c
@@ -109,16 +109,13 @@ static struct options {
        bool odebug;
 } fusecfg;
 
-#define OPTION(t, p)                           \
-    { t, offsetof(struct options, p), 1 }
+#define OPTION(t, p) { t, offsetof(struct options, p), 1 }
 static const struct fuse_opt option_spec[] = {
        OPTION("--dbglevel=%u", debug_lvl),
        OPTION("--help", show_help),
        FUSE_OPT_END
 };
 
-#define OPTION(t, p)    { t, offsetof(struct options, p), 1 }
-
 static void usage(void)
 {
        struct fuse_args args = FUSE_ARGS_INIT(0, NULL);
diff --git a/lib/inode.c b/lib/inode.c
index 97ee2c9..61dc802 100644
--- a/lib/inode.c
+++ b/lib/inode.c
@@ -677,11 +677,7 @@ out:
                 * Don't leave DATA buffers which were written in the global
                 * buffer list. It will make balloc() slowly.
                 */
-#if 0
-               bh->op = &erofs_drop_directly_bhops;
-#else
                erofs_bdrop(bh, false);
-#endif
                inode->bh_data = NULL;
        }
        return 0;
-- 
2.25.1

Reply via email to