lkml.org 
[lkml]   [2004]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Fix blkpg ioctl32 handling
From
Date
Simple obvious patch so that all calls to blkpg from the non-native
environment don't get -EINVAL

Jeremy
--- linux-2.6.4/fs/compat_ioctl.c.blkpg 2004-03-16 16:12:17.761705684 -0500
+++ linux-2.6.4/fs/compat_ioctl.c 2004-03-16 16:12:40.186738770 -0500
@@ -1952,6 +1952,7 @@
set_fs (KERNEL_DS);
err = sys_ioctl(fd, cmd, (unsigned long)&a);
set_fs (old_fs);
+ break;
default:
return -EINVAL;
}
\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.033 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site