VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Andries E. Brouwer <Andries.Brouwer@cwi.nl> 2008-02-06 01:36:32 -0800 committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2008-02-06 10:41:02 -0800 commit: 0b03cfb25fa944bc106e816146846dcb48b2e907 parent: 870b8f8c43d000bb321b42a12212facc1087a748
Commit Summary:
MNT_UNBINDABLE fix
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/fs/pnode.c b/fs/pnode.c
index 89940f243fc2..05ba692bc540 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -83,6 +83,8 @@ void change_mnt_propagation(struct vfsmount *mnt, int type)
 		mnt->mnt_master = NULL;
 		if (type == MS_UNBINDABLE)
 			mnt->mnt_flags |= MNT_UNBINDABLE;
+		else
+			mnt->mnt_flags &= ~MNT_UNBINDABLE;
 	}
 }