projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branches 'asoc/topic/jz4740', 'asoc/topic/kirkwood', 'asoc...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
xfs
/
uuid.h
diff --git
a/fs/xfs/uuid.h
b/fs/xfs/uuid.h
index 4732d71262cc3f6f3aca0f143a96f81094bf5a22..104db0f3bed6729ccfdcaca85899783375c9bb14 100644
(file)
--- a/
fs/xfs/uuid.h
+++ b/
fs/xfs/uuid.h
@@
-26,4
+26,10
@@
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__ */