On Mon, Dec 12, 2011 at 03:40:19PM +0100, David Sterba wrote:
> On Tue, Nov 01, 2011 at 11:47:22PM +0200, Ilya Dryomov wrote:
> > --- a/mkfs.c
> > +++ b/mkfs.c
> > @@ -1328,7 +1328,12 @@ int main(int ac, char **av)
> > fprintf(stderr, "error during mkfs %d\n", ret);
> > exit(1);
> > }
> > +
> > root = open_ctree(file, 0, O_RDWR);
> > + if (!root) {
> > + fprintf(stderr, "ctree init failed\n");
> > + return -1;
>
> I know you just moved the code, but this should be exit(1), same as the
> rest of the function does
I updated the patch.
Thanks,
Ilya
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html