aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorVasily Averin <[email protected]>2022-05-22 12:08:02 +0000
committerJan Kara <[email protected]>2022-05-23 09:42:53 +0000
commitdccd855771b37820b6d976a99729c88259549f85 (patch)
treef11585ae60d627b8ea204b803ccb0fb03aa456f9 /lib/lockref.c
parentfsnotify: consistent behavior for parent not watching children (diff)
downloadkernel-dccd855771b37820b6d976a99729c88259549f85.tar.gz
kernel-dccd855771b37820b6d976a99729c88259549f85.zip
fanotify: fix incorrect fmode_t casts
Fixes sparce warnings: fs/notify/fanotify/fanotify_user.c:267:63: sparse: warning: restricted fmode_t degrades to integer fs/notify/fanotify/fanotify_user.c:1351:28: sparse: warning: restricted fmode_t degrades to integer FMODE_NONTIFY have bitwise fmode_t type and requires __force attribute for any casts. Signed-off-by: Vasily Averin <[email protected]> Reviewed-by: Christian Brauner (Microsoft) <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions