projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: avoid repeated anon_vma lock/unlock sequences in unlink_anon_vmas()
[firefly-linux-kernel-4.4.55.git]
/
block
/
genhd.c
diff --git
a/block/genhd.c
b/block/genhd.c
index 2dd988723d73e98880d271b84dc77ef36b49a0a9..95822ae25cfe3213863d4a1e4d8718eea290afe8 100644
(file)
--- a/
block/genhd.c
+++ b/
block/genhd.c
@@
-1728,7
+1728,7
@@
static void disk_add_events(struct gendisk *disk)
{
struct disk_events *ev;
- if (!disk->fops->check_events
|| !(disk->events | disk->async_events)
)
+ if (!disk->fops->check_events)
return;
ev = kzalloc(sizeof(*ev), GFP_KERNEL);