usb: update the ctime as well when updating mtime after an ioctl
authorJeff Layton <jlayton@kernel.org>
Mon, 12 Jun 2023 10:45:18 +0000 (06:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2023 09:58:50 +0000 (11:58 +0200)
commita053d9dc45acb9534ab4ff1e5794c73011ae5d4d
tree3fb817dd813649bfaf2853dbbb0036be85e1b8f4
parent83cb2604f641cecadc275ca18adbba4bf262320f
usb: update the ctime as well when updating mtime after an ioctl

In general, POSIX requires that when the mtime is updated that the ctime
be updated as well. Add the missing timestamp updates to the usb ioctls.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Message-ID: <20230612104524.17058-3-jlayton@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/devio.c