Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119727
b: refs/heads/master
c: 2cbed89
h: refs/heads/master
i:
  119725: da993ae
  119723: c42e534
  119719: 24d7de6
  119711: 88221f0
v: v3
  • Loading branch information
Al Viro committed Dec 4, 2008
1 parent 5ea880e commit f8796a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: fc9161e54d0dbf799beff9692ea1cc6237162b85
refs/heads/master: 2cbed8906fd1f3c6cc17cdf8aac1bfad2da7960c
4 changes: 2 additions & 2 deletions trunk/drivers/block/pktcdvd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2790,7 +2790,7 @@ static int pkt_new_dev(struct pktcdvd_device *pd, dev_t dev)
return 0;

out_mem:
blkdev_put(bdev, FMODE_READ|FMODE_WRITE);
blkdev_put(bdev, FMODE_READ | FMODE_NDELAY);
/* This is safe: open() is still holding a reference. */
module_put(THIS_MODULE);
return ret;
Expand Down Expand Up @@ -2975,7 +2975,7 @@ static int pkt_remove_dev(dev_t pkt_dev)
pkt_debugfs_dev_remove(pd);
pkt_sysfs_dev_remove(pd);

blkdev_put(pd->bdev, FMODE_READ|FMODE_WRITE);
blkdev_put(pd->bdev, FMODE_READ | FMODE_NDELAY);

remove_proc_entry(pd->name, pkt_proc);
DPRINTK(DRIVER_NAME": writer %s unmapped\n", pd->name);
Expand Down

0 comments on commit f8796a1

Please sign in to comment.