forked from lordarcadius/electrablue_mido
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH] beginning of the shared-subtree proper
A private mount does not forward or receive propagation. This patch provides user the ability to convert any mount to private. Signed-off-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
- Loading branch information
Ram Pai
authored and
Linus Torvalds
committed
Nov 8, 2005
1 parent
390c684
commit 07b2088
Showing
6 changed files
with
62 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* linux/fs/pnode.c | ||
* | ||
* (C) Copyright IBM Corporation 2005. | ||
* Released under GPL v2. | ||
* Author : Ram Pai (linuxram@us.ibm.com) | ||
* | ||
*/ | ||
#include <linux/namespace.h> | ||
#include <linux/mount.h> | ||
#include <linux/fs.h> | ||
#include "pnode.h" | ||
|
||
void change_mnt_propagation(struct vfsmount *mnt, int type) | ||
{ | ||
mnt->mnt_flags &= ~MNT_PNODE_MASK; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* linux/fs/pnode.h | ||
* | ||
* (C) Copyright IBM Corporation 2005. | ||
* Released under GPL v2. | ||
* | ||
*/ | ||
#ifndef _LINUX_PNODE_H | ||
#define _LINUX_PNODE_H | ||
|
||
#include <linux/list.h> | ||
#include <linux/mount.h> | ||
void change_mnt_propagation(struct vfsmount *, int); | ||
#endif /* _LINUX_PNODE_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters