diff options
author | Ian Kent <[email protected]> | 2016-10-11 13:53:02 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-10-11 15:06:31 -0700 |
commit | aa8419367b62044e92bd7993eeb83d861b59bafa (patch) | |
tree | 9c3a1087e04854169060986344d95af52603b075 /lib/mpi/mpiutil.c | |
parent | b6e3795a06c2fe837e7d0319a923e8978276ec4c (diff) |
autofs: fix dev ioctl number range check
The count of miscellaneous device ioctls in fs/autofs4/autofs_i.h is wrong.
The number of ioctls is the difference between AUTOFS_DEV_IOCTL_VERSION_CMD
and AUTOFS_DEV_IOCTL_ISMOUNTPOINT_CMD (14) not the difference between
AUTOFS_IOC_COUNT and 11 (21).
[[email protected]: fix typo that made the count macro negative]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ian Kent <[email protected]>
Cc: Tomohiro Kusumi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions