diff options
| author | Heinrich Schuchardt <[email protected]> | 2014-06-04 23:05:43 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-06-04 23:53:52 +0000 |
| commit | cc299a98eb13a9853675a9cbb90b30b4011e1406 (patch) | |
| tree | a1bcf01204e5753d1d2016e0ff9885b9f2c1a193 /lib/debugobjects.c | |
| parent | fs/notify/mark.c: trivial cleanup (diff) | |
| download | kernel-cc299a98eb13a9853675a9cbb90b30b4011e1406.tar.gz kernel-cc299a98eb13a9853675a9cbb90b30b4011e1406.zip | |
fs/notify/fanotify/fanotify_user.c: fix FAN_MARK_FLUSH flag checking
If fanotify_mark is called with illegal value of arguments flags and
marks it usually returns EINVAL.
When fanotify_mark is called with FAN_MARK_FLUSH the argument flags is
not checked for irrelevant flags like FAN_MARK_IGNORED_MASK.
The patch removes this inconsistency.
If an irrelevant flag is set error EINVAL is returned.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Acked-by: Michael Kerrisk <[email protected]>
Acked-by: Jan Kara <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
