summaryrefslogtreecommitdiffstats
path: root/fs/xfs/uuid.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-11 14:00:57 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-05 16:59:04 +0200
commitdf33767d9fe0ca93c606cc9042df05e5045c8158 (patch)
tree3f49d1e61e0ac89d1158bb0229b2bd7b4b996093 /fs/xfs/uuid.h
parentb10bf0e281040f152da93fede1d43ec57caa7cee (diff)
downloadlinux-stable-df33767d9fe0ca93c606cc9042df05e5045c8158.tar.gz
linux-stable-df33767d9fe0ca93c606cc9042df05e5045c8158.tar.bz2
linux-stable-df33767d9fe0ca93c606cc9042df05e5045c8158.zip
uuid: hoist helpers uuid_equal() and uuid_copy() from xfs
These helper are used to compare and copy two uuid_t type objects. Signed-off-by: Amir Goldstein <amir73il@gmail.com> [hch: also provide the respective guid_ versions] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'fs/xfs/uuid.h')
-rw-r--r--fs/xfs/uuid.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/xfs/uuid.h b/fs/xfs/uuid.h
index 4f1441ba4fa5..86bbed071e79 100644
--- a/fs/xfs/uuid.h
+++ b/fs/xfs/uuid.h
@@ -19,13 +19,6 @@
#define __XFS_SUPPORT_UUID_H__
extern int uuid_is_nil(uuid_t *uuid);
-extern int uuid_equal(uuid_t *uuid1, uuid_t *uuid2);
extern void uuid_getnodeuniq(uuid_t *uuid, int fsid [2]);
-static inline void
-uuid_copy(uuid_t *dst, uuid_t *src)
-{
- memcpy(dst, src, sizeof(uuid_t));
-}
-
#endif /* __XFS_SUPPORT_UUID_H__ */