aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDan Magenheimer <dan.magenheimer@oracle.com>2011-10-17 19:47:17 -0400
committerJoel Becker <jlbec@evilplan.org>2011-11-17 04:46:48 -0500
commite41d33af7c037a6f7350f8410b45ce83b50d1b80 (patch)
treebbf08c4e9321dd17265f3aa65b96bbf441d23f8f /fs
parentb8a0ae579fb8d9b21008ac386be08b9428902455 (diff)
ocfs2: send correct UUID to cleancache initialization
ocfs2: Fix cleancache initialization call to correctly pass uuid As reported by Steven Whitehouse in https://lkml.org/lkml/2011/5/27/221 the ocfs2 volume UUID is incorrectly passed to cleancache. As a result, shared-ephemeral tmem pools will not actually be created; instead they will be private (unshared) which misses out on a major benefit of tmem. Reported-by: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> Signed-off-by: Joel Becker <jlbec@evilplan.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/ocfs2/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 938e2b2b0c9c..4994f8b0e604 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -2360,7 +2360,7 @@ static int ocfs2_initialize_super(struct super_block *sb,
2360 mlog_errno(status); 2360 mlog_errno(status);
2361 goto bail; 2361 goto bail;
2362 } 2362 }
2363 cleancache_init_shared_fs((char *)&uuid_net_key, sb); 2363 cleancache_init_shared_fs((char *)&di->id2.i_super.s_uuid, sb);
2364 2364
2365bail: 2365bail:
2366 return status; 2366 return status;