mirror of
https://github.com/torvalds/linux
synced 2024-09-06 09:51:23 +00:00
samples: remove duplicate include in fs-monitor.c
'sys/types.h' included in 'samples/fanotify/fs-monitor.c' is duplicated.It is also included on 15 line. Link: https://lore.kernel.org/r/20211101075152.35780-1-zhang.mingyu@zte.com.cn Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Zhang Mingyu <zhang.mingyu@zte.com.cn> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
b7eccf75c2
commit
15c72660fe
|
@ -12,7 +12,6 @@
|
||||||
#include <sys/fanotify.h>
|
#include <sys/fanotify.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
|
||||||
|
|
||||||
#ifndef FAN_FS_ERROR
|
#ifndef FAN_FS_ERROR
|
||||||
#define FAN_FS_ERROR 0x00008000
|
#define FAN_FS_ERROR 0x00008000
|
||||||
|
|
Loading…
Reference in a new issue