From 907736ed40ef33b82515244735567b078c48bcf9 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Fri, 13 Aug 2010 16:43:37 +1000 Subject: [PATCH] Add missing set_anon_super for subset mounts oops - missed that. Signed-off-by: NeilBrown --- super.c | 1 + test/go | 1 + 2 files changed, 2 insertions(+) diff --git a/super.c b/super.c index f5b255d..a15c25d 100644 --- a/super.c +++ b/super.c @@ -928,6 +928,7 @@ static int test_subset(struct super_block *sb, void *data) static int set_subset(struct super_block *sb, void *data) { sb->s_fs_info = data; + set_anon_super(sb, NULL); return 0; } diff --git a/test/go b/test/go index 962a06c..56e2d51 100644 --- a/test/go +++ b/test/go @@ -198,6 +198,7 @@ mount -t lafs_subset /mnt/1/foo /mnt2 echo hello > /mnt2/foo1 echo goodby > /mnt2/foo2 ls -lai /mnt2 +#ls -lai /mnt/1 sync umount /mnt2 mount -t lafs_subset /mnt/1/foo /mnt/2 -- 2.39.5