]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - cmd_attr.c
atomic64_read_acquire() should be inline
[bcachefs-tools-debian] / cmd_attr.c
index a3c821241b7443a140583b36ddc186f36ad668b3..9e7f56398a5e69812506f97181e5b79931a2aab5 100644 (file)
@@ -80,14 +80,14 @@ static void do_setattr(char *path, struct bch_opt_strs opts)
 
 static void setattr_usage(void)
 {
-       puts("bcachefs setattr - set attributes on files in a bcachefs filessytem\n"
+       puts("bcachefs setattr - set attributes on files in a bcachefs filesystem\n"
             "Usage: bcachefs setattr [OPTIONS]... <files>\n"
             "\n"
             "Options:");
 
        bch2_opts_usage(OPT_INODE);
        puts("  -h            Display this help and exit\n"
-            "Report bugs to <linux-bcache@vger.kernel.org>");
+            "Report bugs to <linux-bcachefs@vger.kernel.org>");
 }
 
 int cmd_setattr(int argc, char *argv[])
@@ -108,6 +108,7 @@ int cmd_setattr(int argc, char *argv[])
 
        for (i = 1; i < argc; i++)
                do_setattr(argv[i], opts);
+       bch2_opt_strs_free(&opts);
 
        return 0;
 }