ext4: use generic names for generic ioctls
authorEric Biggers <ebiggers@google.com>
Tue, 14 Jul 2020 23:09:09 +0000 (16:09 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Aug 2020 05:35:05 +0000 (01:35 -0400)
commitcb29a02d3a9d51c749f556b3bbf6551fbc0454eb
tree6d850bc26e733309ab10982f15aafb18219f9182
parent2a12e147da38807f8aab03c92de99a70ab983a96
ext4: use generic names for generic ioctls

Don't define EXT4_IOC_* aliases to ioctls that already have a generic
FS_IOC_* name.  These aliases are unnecessary, and they make it unclear
which ioctls are ext4-specific and which are generic.

Exception: leave EXT4_IOC_GETVERSION_OLD and EXT4_IOC_SETVERSION_OLD
as-is for now, since renaming them to FS_IOC_GETVERSION and
FS_IOC_SETVERSION would probably make them more likely to be confused
with EXT4_IOC_GETVERSION and EXT4_IOC_SETVERSION which also exist.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20200714230909.56349-1-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Documentation/admin-guide/ext4.rst
fs/ext4/ext4.h
fs/ext4/ioctl.c