timerfd: switch to CLASS(fd)
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 1 Jun 2024 01:39:04 +0000 (21:39 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 Nov 2024 06:28:06 +0000 (01:28 -0500)
commit919a7a1aac29f7f1ec945dccdf084d494991c78c
treeed55fed30fc2c75c662d5bc9090bf89fc15e63c9
parent05e555642c4613d5a2438351c705bb2119352757
timerfd: switch to CLASS(fd)

Fold timerfd_fget() into both callers to have fdget() and fdput() in
the same scope.  Could be done in different ways, but this is probably
the smallest solution.

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/timerfd.c