projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
atm: separate ATM_GETNAMES handling from the rest of atm_dev_ioctl()
[linux-2.6-microblaze.git]
/
net
/
atm
/
ioctl.c
diff --git
a/net/atm/ioctl.c
b/net/atm/ioctl.c
index
d955b68
..
0b4b077
100644
(file)
--- a/
net/atm/ioctl.c
+++ b/
net/atm/ioctl.c
@@
-162,7
+162,11
@@
static int do_vcc_ioctl(struct socket *sock, unsigned int cmd,
if (error != -ENOIOCTLCMD)
goto done;
- error = atm_dev_ioctl(cmd, argp, compat);
+ if (cmd == ATM_GETNAMES) {
+ error = atm_getnames(argp, compat);
+ } else {
+ error = atm_dev_ioctl(cmd, argp, compat);
+ }
done:
return error;