ceph: make ioctl cmds more readable in debug log
authorXiubo Li <xiubli@redhat.com>
Wed, 16 Mar 2022 06:49:34 +0000 (14:49 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 22 Aug 2023 07:01:48 +0000 (09:01 +0200)
commitb7b53361c80b16ad461dbcb8a93e6e37578bac9b
tree8e69379803163d5e23e83a80d0dda09b46881066
parentf061feda6c54ccb02b0f2c09926fb8edd4882fbb
ceph: make ioctl cmds more readable in debug log

    ioctl file 0000000004e6b054 cmd 2148296211 arg 824635143532

The numerical cmd value in the ioctl debug log message is too hard to
understand even when you look at it in the code. Make it more readable.

[ idryomov: add missing _ in ceph_ioctl_cmd_name() ]

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-and-tested-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/ioctl.c