On Thu, Feb 16, 2017 at 01:55:03AM +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 <je...@suse.com> > Signed-off-by: Dmitry V. Levin <l...@altlinux.org>
Reviewed-by: David Sterba <dste...@suse.com>