summaryrefslogtreecommitdiffstats
path: root/fs/afs/internal.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-07-03 14:13:44 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-07-03 14:13:44 +0200
commit875aabf52e21f84cb6700a760dc734c260c54e7e (patch)
tree6c5b012dc066ef584cd5ba31fab1b7381db08281 /fs/afs/internal.h
parentLinux 4.12-rc7 (diff)
parentthermal: int340x_thermal: fix compile after the UUID API switch (diff)
downloadlinux-875aabf52e21f84cb6700a760dc734c260c54e7e.tar.xz
linux-875aabf52e21f84cb6700a760dc734c260c54e7e.zip
Merge branch 'uuid-types'
Merge 'uuid-types' from git://git.infradead.org/users/hch/uuid.git
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r--fs/afs/internal.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index 393672997cc2..4e2556606623 100644
--- a/fs/afs/internal.h
+++ b/fs/afs/internal.h
@@ -410,6 +410,15 @@ struct afs_interface {
unsigned mtu; /* MTU of interface */
};
+struct afs_uuid {
+ __be32 time_low; /* low part of timestamp */
+ __be16 time_mid; /* mid part of timestamp */
+ __be16 time_hi_and_version; /* high part of timestamp and version */
+ __u8 clock_seq_hi_and_reserved; /* clock seq hi and variant */
+ __u8 clock_seq_low; /* clock seq low */
+ __u8 node[6]; /* spatially unique node ID (MAC addr) */
+};
+
/*****************************************************************************/
/*
* cache.c
@@ -544,7 +553,7 @@ extern int afs_drop_inode(struct inode *);
* main.c
*/
extern struct workqueue_struct *afs_wq;
-extern struct uuid_v1 afs_uuid;
+extern struct afs_uuid afs_uuid;
/*
* misc.c