aboutsummaryrefslogtreecommitdiffstats
path: root/fs/devpts
diff options
context:
space:
mode:
Diffstat (limited to 'fs/devpts')
-rw-r--r--fs/devpts/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/devpts/inode.c b/fs/devpts/inode.c
index b02c24313d5c..3f309f181de8 100644
--- a/fs/devpts/inode.c
+++ b/fs/devpts/inode.c
@@ -320,6 +320,7 @@ fail:
320 return -ENOMEM; 320 return -ENOMEM;
321} 321}
322 322
323#ifdef CONFIG_DEVPTS_MULTIPLE_INSTANCES
323static int compare_init_pts_sb(struct super_block *s, void *p) 324static int compare_init_pts_sb(struct super_block *s, void *p)
324{ 325{
325 if (devpts_mnt) 326 if (devpts_mnt)
@@ -327,7 +328,6 @@ static int compare_init_pts_sb(struct super_block *s, void *p)
327 return 0; 328 return 0;
328} 329}
329 330
330#ifdef CONFIG_DEVPTS_MULTIPLE_INSTANCES
331/* 331/*
332 * Safely parse the mount options in @data and update @opts. 332 * Safely parse the mount options in @data and update @opts.
333 * 333 *