patch-2.3.3 linux/include/linux/blk.h
Next file: linux/include/linux/blkpg.h
Previous file: linux/include/asm-sparc64/io.h
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Sun May 16 13:19:06 1999
-  Orig file: 
v2.3.2/linux/include/linux/blk.h
-  Orig date: 
Tue May 11 13:05:32 1999
diff -u --recursive --new-file v2.3.2/linux/include/linux/blk.h linux/include/linux/blk.h
@@ -85,12 +85,6 @@
 
 #endif
 
-#define RO_IOCTLS(dev,where) \
-  case BLKROSET: { int __val;  if (!capable(CAP_SYS_ADMIN)) return -EACCES; \
-		   if (get_user(__val, (int *)(where))) return -EFAULT; \
-		   set_device_ro((dev),__val); return 0; } \
-  case BLKROGET: { int __val = (is_read_only(dev) != 0) ; \
-		    return put_user(__val,(int *) (where)); }
 		 
 #if defined(MAJOR_NR) || defined(IDE_DRIVER)
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)