diff options
author | Jan Kara <jack@suse.cz> | 2015-09-04 15:43:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-04 16:54:41 -0700 |
commit | 3c53e514212455db9923c203694a72007558b48f (patch) | |
tree | a5693cbd4b4366d886df9da609b0c115bff32e44 /kernel/cpu_pm.c | |
parent | 7c49b8616460ebb12ee56d80d1abfbc20b6f3cbb (diff) | |
download | linux-3c53e514212455db9923c203694a72007558b48f.tar.bz2 |
fsnotify: fix check in inotify fdinfo printing
A check in inotify_fdinfo() checking whether mark is valid was always
true due to a bug. Luckily we can never get to invalidated marks since
we hold mark_mutex and invalidated marks get removed from the group list
when they are invalidated under that mutex.
Anyway fix the check to make code more future proof.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cpu_pm.c')
0 files changed, 0 insertions, 0 deletions