aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/compat_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 0ca9ec4a79c3..6d55b61bfa79 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -545,7 +545,7 @@ static int mt_ioctl_trans(unsigned int fd, unsigned int cmd, void __user *argp)
545 kcmd = MTIOCPOS; 545 kcmd = MTIOCPOS;
546 karg = &pos; 546 karg = &pos;
547 break; 547 break;
548 case MTIOCGET32: 548 default: /* MTIOCGET32 */
549 kcmd = MTIOCGET; 549 kcmd = MTIOCGET;
550 karg = &get; 550 karg = &get;
551 break; 551 break;
@@ -663,7 +663,7 @@ static int raw_ioctl(unsigned fd, unsigned cmd,
663 663
664 switch (cmd) { 664 switch (cmd) {
665 case RAW_SETBIND: 665 case RAW_SETBIND:
666 case RAW_GETBIND: { 666 default: { /* RAW_GETBIND */
667 struct raw_config_request req; 667 struct raw_config_request req;
668 mm_segment_t oldfs = get_fs(); 668 mm_segment_t oldfs = get_fs();
669 669