Re: [PATCH v3] btrfs: remove btrfs_err_str function from uapi/linux/btrfs.h

From: David Sterba
Date: Wed Mar 01 2017 - 10:43:56 EST


On Wed, Mar 01, 2017 at 02:12:50AM +0300, Dmitry V. Levin wrote:
> btrfs_err_str function is not called from anywhere and is replicated
> in the userspace headers for btrfs-progs.
>
> It's removal also fixes the following linux/btrfs.h userspace
> compilation error:
>
> /usr/include/linux/btrfs.h: In function 'btrfs_err_str':
> /usr/include/linux/btrfs.h:740:11: error: 'NULL' undeclared (first use in this function)
> return NULL;
>
> Suggested-by: Jeff Mahoney <jeffm@xxxxxxxx>
> Signed-off-by: Dmitry V. Levin <ldv@xxxxxxxxxxxx>
> Reviewed-by: David Sterba <dsterba@xxxxxxxx>
> ---
> v3: the patch seems to be lost, resending with updated list of addressees

Indeed, I can't find how or where it got lost, sorry. Added to 4.11
again.