From 21b37a664fe2cfcc0d21755da440a5069239be35 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Wed, 2 May 2007 19:27:21 +0200 Subject: [PATCH] --- yaml --- r: 53942 b: refs/heads/master c: 2724b6db663a4efb69462ff6eb8f88d7528cace3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/compat_ioctl.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index aa312a5aaa13..b5b86bc65f8a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fac15a8e4d4c36eb4676bfd2c30ea16ad05c401a +refs/heads/master: 2724b6db663a4efb69462ff6eb8f88d7528cace3 diff --git a/trunk/fs/compat_ioctl.c b/trunk/fs/compat_ioctl.c index f6f5e0849d9b..464c04a9541d 100644 --- a/trunk/fs/compat_ioctl.c +++ b/trunk/fs/compat_ioctl.c @@ -2627,6 +2627,15 @@ COMPATIBLE_IOCTL(LPRESET) /*LPGETSTATS not implemented, but no kernels seem to compile it in anyways*/ COMPATIBLE_IOCTL(LPGETFLAGS) HANDLE_IOCTL(LPSETTIMEOUT, lp_timeout_trans) + +/* fat 'r' ioctls. These are handled by fat with ->compat_ioctl, + but we don't want warnings on other file systems. So declare + them as compatible here. */ +#define VFAT_IOCTL_READDIR_BOTH32 _IOR('r', 1, struct compat_dirent[2]) +#define VFAT_IOCTL_READDIR_SHORT32 _IOR('r', 2, struct compat_dirent[2]) + +IGNORE_IOCTL(VFAT_IOCTL_READDIR_BOTH32) +IGNORE_IOCTL(VFAT_IOCTL_READDIR_SHORT32) }; int ioctl_table_size = ARRAY_SIZE(ioctl_start);