xfs: use the common helper uuid_is_null()
authorAmir Goldstein <amir73il@gmail.com>
Thu, 4 May 2017 13:26:23 +0000 (16:26 +0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 5 Jun 2017 14:59:08 +0000 (16:59 +0200)
commitd905fdaaa7d59abde1535075cca6774fd7f0ef0a
treee071d80fa8db77687d813c5768952f8ede8805c6
parentcb0ba6cc22f372a2d42f9f2afc5a35f432cc61e2
xfs: use the common helper uuid_is_null()

Use the common helper uuid_is_null() and remove the xfs specific
helper uuid_is_nil().

The common helper does not check for the NULL pointer value as
xfs helper did, but xfs code never calls the helper with a pointer
that can be NULL.

Conform comments and warning strings to use the term 'null uuid'
instead of 'nil uuid', because this is the terminology used by
lib/uuid.c and its users. It is also the terminology used in
userspace by libuuid and xfsprogs.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
[hch: remove now unused uuid.[ch]]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
fs/xfs/Makefile
fs/xfs/uuid.c [deleted file]
fs/xfs/uuid.h [deleted file]
fs/xfs/xfs_linux.h
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_mount.c