diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-10 09:06:33 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-05 10:59:12 -0400 |
commit | 85787090a21eb749d8b347eaf9ff1a455637473c (patch) | |
tree | 25f85517eb05e430352aff20e571fb604ec6abd1 /mm/cleancache.c | |
parent | 787d8c530af73257240fc0c0f60e296a83d5e5f4 (diff) |
fs: switch ->s_uuid to uuid_t
For some file systems we still memcpy into it, but in various places this
already allows us to use the proper uuid helpers. More to come..
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Acked-by: Mimi Zohar <zohar@linux.vnet.ibm.com> (Changes to IMA/EVM)
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'mm/cleancache.c')
-rw-r--r-- | mm/cleancache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/cleancache.c b/mm/cleancache.c index ba5d8f3e6d68..f7b9fdc79d97 100644 --- a/mm/cleancache.c +++ b/mm/cleancache.c | |||
@@ -130,7 +130,7 @@ void __cleancache_init_shared_fs(struct super_block *sb) | |||
130 | int pool_id = CLEANCACHE_NO_BACKEND_SHARED; | 130 | int pool_id = CLEANCACHE_NO_BACKEND_SHARED; |
131 | 131 | ||
132 | if (cleancache_ops) { | 132 | if (cleancache_ops) { |
133 | pool_id = cleancache_ops->init_shared_fs(sb->s_uuid, PAGE_SIZE); | 133 | pool_id = cleancache_ops->init_shared_fs(&sb->s_uuid, PAGE_SIZE); |
134 | if (pool_id < 0) | 134 | if (pool_id < 0) |
135 | pool_id = CLEANCACHE_NO_POOL; | 135 | pool_id = CLEANCACHE_NO_POOL; |
136 | } | 136 | } |