]> err.no Git - linux-2.6/commit
[NET]: Don't implement dev_ifname32 inline
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 12 Sep 2007 09:37:03 +0000 (11:37 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:03 +0000 (16:49 -0700)
commit32da477a5bfe96b6dfc8960e0d22d89ca09fd10a
treef4a8e5ec43d0a5ba85a66f12cd23c09a2ab689a7
parent890d52d3f1e28888c4122e120426588f5ad63d37
[NET]: Don't implement dev_ifname32 inline

The current implementation of dev_ifname makes maintenance difficult
because updates to the implementation of the ioctl have to made in two
places.  So this patch updates dev_ifname32 to do a classic 32/64
structure conversion and call sys_ioctl like the rest of the
compat calls do.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/compat_ioctl.c