[PATCH RFC 5/5] UBIFS: add ubifs_err() to print error reason

Artem Bityutskiy artem.bityutskiy at linux.intel.com
Thu Feb 14 02:29:20 EST 2013


On Wed, 2013-02-13 at 11:23 +0100, Marc Kleine-Budde wrote:
>         err = ubifs_init_security(dir, inode, &dentry->d_name);
> -       if (err)
> +       if (err) {
> +               ubifs_err("cannot initialize extended attribute, error %d",
> +                         err);
>                 goto out_cancel;
> +       }

Would you please instead make 'ubifs_init_security()' print the error
message.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list