diff options
| author | Christian Brauner <[email protected]> | 2021-03-25 08:37:43 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2021-03-25 14:33:45 +0000 |
| commit | 22d483b99863202e3631ff66fa0f3c2302c0f96f (patch) | |
| tree | 517f550b13521af5c20556eb32fbd188eb64b437 /lib/dump_stack.c | |
| parent | fanotify: support limited functionality for unprivileged users (diff) | |
| download | kernel-22d483b99863202e3631ff66fa0f3c2302c0f96f.tar.gz kernel-22d483b99863202e3631ff66fa0f3c2302c0f96f.zip | |
fanotify_user: use upper_32_bits() to verify mask
I don't see an obvious reason why the upper 32 bit check needs to be
open-coded this way. Switch to upper_32_bits() which is more idiomatic and
should conceptually be the same check.
Cc: Amir Goldstein <[email protected]>
Cc: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
