diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-07-05 23:09:37 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-07-05 23:09:37 +0000 |
commit | aba344fdfed81b2c03d6114c54cfd73a486aa10b (patch) | |
tree | d032d8430bf1234c3ecc6f6330d6de6e887e5963 /drivers/char/tpqic02.c | |
parent | 40c138bfc6d37dbff5339f84575db1e3cec6e34e (diff) |
Merge with Linux 2.3.9.
Diffstat (limited to 'drivers/char/tpqic02.c')
-rw-r--r-- | drivers/char/tpqic02.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpqic02.c b/drivers/char/tpqic02.c index 67b8f3a71..edcf6f2f3 100644 --- a/drivers/char/tpqic02.c +++ b/drivers/char/tpqic02.c @@ -2216,7 +2216,7 @@ static int qic02_tape_open_no_use_count(struct inode * inode, struct file * filp } /* Only one at a time from here on... */ - if (filp->f_count>1) /* filp->f_count==1 for the first open() */ + if (atomic_read(&filp->f_count)>1) /* filp->f_count==1 for the first open() */ { return -EBUSY; } |