Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252254
b: refs/heads/master
c: 75e3f3e
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jens Axboe committed May 26, 2011
1 parent e816991 commit 5ebf8de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8892cbaf686fb18a5f0558b9fd7773b32c0c7852
refs/heads/master: 75e3f3ee3c64968d42f4843ec49e579f84b5aa0c
2 changes: 1 addition & 1 deletion trunk/block/genhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5ebf8de

Please sign in to comment.