git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[pandora-kernel.git]
/
fs
/
fscache
/
operation.c
diff --git
a/fs/fscache/operation.c
b/fs/fscache/operation.c
index
b9f34ea
..
48a18f1
100644
(file)
--- a/
fs/fscache/operation.c
+++ b/
fs/fscache/operation.c
@@
-101,7
+101,7
@@
int fscache_submit_exclusive_op(struct fscache_object *object,
object->n_ops++;
object->n_exclusive++; /* reads and writes must wait */
object->n_ops++;
object->n_exclusive++; /* reads and writes must wait */
- if (object->n_ops >
0
) {
+ if (object->n_ops >
1
) {
atomic_inc(&op->usage);
list_add_tail(&op->pend_link, &object->pending_ops);
fscache_stat(&fscache_n_op_pend);
atomic_inc(&op->usage);
list_add_tail(&op->pend_link, &object->pending_ops);
fscache_stat(&fscache_n_op_pend);