提交 260219cc 编写于 作者: A Alexey Dobriyan 提交者: Linus Torvalds

devpts: remove graffiti

Very annoying when working with containters.
Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 2f688913
...@@ -198,9 +198,6 @@ static int mknod_ptmx(struct super_block *sb) ...@@ -198,9 +198,6 @@ static int mknod_ptmx(struct super_block *sb)
fsi->ptmx_dentry = dentry; fsi->ptmx_dentry = dentry;
rc = 0; rc = 0;
printk(KERN_DEBUG "Created ptmx node in devpts ino %lu\n",
inode->i_ino);
out: out:
mutex_unlock(&root->d_inode->i_mutex); mutex_unlock(&root->d_inode->i_mutex);
return rc; return rc;
...@@ -369,8 +366,6 @@ static int new_pts_mount(struct file_system_type *fs_type, int flags, ...@@ -369,8 +366,6 @@ static int new_pts_mount(struct file_system_type *fs_type, int flags,
struct pts_fs_info *fsi; struct pts_fs_info *fsi;
struct pts_mount_opts *opts; struct pts_mount_opts *opts;
printk(KERN_NOTICE "devpts: newinstance mount\n");
err = get_sb_nodev(fs_type, flags, data, devpts_fill_super, mnt); err = get_sb_nodev(fs_type, flags, data, devpts_fill_super, mnt);
if (err) if (err)
return err; return err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册