Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73202
b: refs/heads/master
c: b07989f
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed Nov 5, 2007
1 parent e0050cc commit a69153d
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: 6551198a201a70cb11e25712b1d0b2a369bb8a4c
refs/heads/master: b07989f51eea16e2fe3eab032801599d952966fb
2 changes: 1 addition & 1 deletion trunk/drivers/block/paride/pt.c
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ static int pt_open(struct inode *inode, struct file *file)
goto out;

err = -EROFS;
if ((!tape->flags & PT_WRITE_OK) && (file->f_mode & 2))
if ((!(tape->flags & PT_WRITE_OK)) && (file->f_mode & 2))
goto out;

if (!(iminor(inode) & 128))
Expand Down

0 comments on commit a69153d

Please sign in to comment.