Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88122
b: refs/heads/master
c: 7484839
h: refs/heads/master
v: v3
  • Loading branch information
Maxim Shchetynin authored and Paul Mackerras committed Apr 3, 2008
1 parent 606bbfb commit cfa6a7d
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: b991f05f1326fd9e6212851d0f2099875906dd16
refs/heads/master: 7484839850d826e14b8b024bb048dca8489140ae
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/rtas_flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ static int rtas_excl_open(struct inode *inode, struct file *file)

/* Enforce exclusive open with use count of PDE */
spin_lock(&flash_file_open_lock);
if (atomic_read(&dp->count) > 1) {
if (atomic_read(&dp->count) > 2) {
spin_unlock(&flash_file_open_lock);
return -EBUSY;
}
Expand Down

0 comments on commit cfa6a7d

Please sign in to comment.