summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_linux.h
diff options
context:
space:
mode:
authorAmir Goldstein2017-05-04 15:26:23 +0200
committerChristoph Hellwig2017-06-05 16:59:08 +0200
commitd905fdaaa7d59abde1535075cca6774fd7f0ef0a (patch)
treee071d80fa8db77687d813c5768952f8ede8805c6 /fs/xfs/xfs_linux.h
parentxfs: remove uuid_getnodeuniq and xfs_uu_t (diff)
downloadkernel-qcow2-linux-d905fdaaa7d59abde1535075cca6774fd7f0ef0a.tar.gz
kernel-qcow2-linux-d905fdaaa7d59abde1535075cca6774fd7f0ef0a.tar.xz
kernel-qcow2-linux-d905fdaaa7d59abde1535075cca6774fd7f0ef0a.zip
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>
Diffstat (limited to 'fs/xfs/xfs_linux.h')
-rw-r--r--fs/xfs/xfs_linux.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_linux.h b/fs/xfs/xfs_linux.h
index 2c33d915e550..2d167fe643ec 100644
--- a/fs/xfs/xfs_linux.h
+++ b/fs/xfs/xfs_linux.h
@@ -43,7 +43,6 @@ typedef __u32 xfs_nlink_t;
#include "kmem.h"
#include "mrlock.h"
-#include "uuid.h"
#include <linux/semaphore.h>
#include <linux/mm.h>