[PATCH 4/5] reminder comment about register_ioctl32_conversion

From: Michael S. Tsirkin
Date: Tue Jan 18 2005 - 06:01:08 EST


This is just a split off from Andi's patch, so I didnt add my SOB here.

Signed-off-by: Andi Kleen <ak@xxxxxx>

Since its too early to deprecate (un)register_ioctl32_conversion,
add a comment for that time when we do.

diff -rup linux-2.6.10-orig/fs/compat.c linux-2.6.10-ioctl-sym/fs/compat.c
--- linux-2.6.10-orig/fs/compat.c 2005-01-18 10:58:33.609880024 +0200
+++ linux-2.6.10-ioctl-sym/fs/compat.c 2005-01-18 10:54:26.289478440 +0200
@@ -447,6 +452,7 @@ asmlinkage long compat_sys_ioctl(unsigne
(!filp->f_op->ioctl && !filp->f_op->unlocked_ioctl))
goto do_ioctl;

+ /* When register_ioctl32_conversion is gone remove this lock! -AK */
down_read(&ioctl32_sem);
for (t = ioctl32_hash_table[ioctl32_hash(cmd)]; t; t = t->next) {
if (t->cmd == cmd)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/