]> git.hungrycats.org Git - linux/commitdiff
[PATCH] mark LOOP_CHANGE_FD as an ULONG compat ioctl
authorArjan van de Ven <arjanv@redhat.com>
Mon, 23 Aug 2004 06:06:11 +0000 (23:06 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 06:06:11 +0000 (23:06 -0700)
LOOP_CHANGE_FD is an ULONG compatible ioctl, basically same calling
convention as LOOP_SET_FD; mark it as such in the compat ioctl list.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/compat_ioctl.h

index 0c246418176c34b9ce8d8185e2e23f27e12cf9b4..253d28dd1e178a6c8c11e4db6f72d12c9962d5af 100644 (file)
@@ -384,6 +384,7 @@ COMPATIBLE_IOCTL(DVD_WRITE_STRUCT)
 COMPATIBLE_IOCTL(DVD_AUTH)
 /* Big L */
 ULONG_IOCTL(LOOP_SET_FD)
+ULONG_IOCTL(LOOP_CHANGE_FD)
 COMPATIBLE_IOCTL(LOOP_CLR_FD)
 COMPATIBLE_IOCTL(LOOP_GET_STATUS64)
 COMPATIBLE_IOCTL(LOOP_SET_STATUS64)