[Devel] [PATCH rh7 2/6] Revert "ve/devtmpfs: pass proper options string"
Vladimir Davydov
vdavydov at parallels.com
Thu Jul 23 08:09:59 PDT 2015
This reverts commit 1c6719b8aa075de4c9528811839d5f2595ef2994.
This is related to devtmpfs virtualization, which I'm going to drop.
Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
---
drivers/base/devtmpfs.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c
index c28e42c96b88..0448af8195f3 100644
--- a/drivers/base/devtmpfs.c
+++ b/drivers/base/devtmpfs.c
@@ -451,10 +451,9 @@ out:
int ve_init_devtmpfs(void *data)
{
struct ve_struct *ve = data;
- char opts[] = "mode=0755";
struct vfsmount *mnt;
- mnt = kern_mount_data(&dev_fs_type, opts);
+ mnt = kern_mount_data(&dev_fs_type, ve);
if (IS_ERR(mnt))
return PTR_ERR(mnt);
ve->devtmpfs_root.mnt = mnt;
--
2.1.4
More information about the Devel
mailing list