diff options
author | Tomohiro Kusumi <tkusumi@tuxera.com> | 2017-09-08 16:16:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-08 18:26:50 -0700 |
commit | 718b303b49893d8f9dd469f710d76f77673bd35d (patch) | |
tree | 662ed67d039c1698e6efeb94e92ceab6ba3c5f39 /fs/dax.c | |
parent | ed837d0901750e5e654d3949d6064c87a78e33d9 (diff) | |
download | blackbird-op-linux-718b303b49893d8f9dd469f710d76f77673bd35d.tar.gz blackbird-op-linux-718b303b49893d8f9dd469f710d76f77673bd35d.zip |
autofs: use AUTOFS_DEV_IOCTL_SIZE
Use a macro which defines misc-dev ioctl parameter size (excluding a path
beyond &path[0]) since it's been used to initialize and copy this
structure ever since it first appeared in 8d7b48e0 in 2008.
(or simply get rid of this if this is just unnecessary abstraction when
all it needs is sizeof(struct autofs_dev_ioctl))
Edit: raven@themaw.net
That's a good point but I'd prefer to keep the macro define.
End edit: raven@themaw.net
Link: http://lkml.kernel.org/r/150285068577.4670.2599968823770600622.stgit@pluto.themaw.net
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions