diff options
author | Akshat Aranya <aranya@nec-labs.com> | 2011-01-14 17:00:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-14 18:23:36 +0100 |
commit | ba28b93a5227cc69ec811507f7d85ac25fa20fe2 (patch) | |
tree | 1ae3a8d6b19528277f5a622705b633a43f5218b8 /Documentation | |
parent | Merge branch 'vfs-scale-working' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-ba28b93a5227cc69ec811507f7d85ac25fa20fe2.tar.xz linux-ba28b93a5227cc69ec811507f7d85ac25fa20fe2.zip |
FS-Cache: Fix operation handling
fscache_submit_exclusive_op() adds an operation to the pending list if
other operations are pending. Fix the check for pending ops as n_ops
must be greater than 0 at the point it is checked as it is incremented
immediately before under lock.
Signed-off-by: Akshat Aranya <aranya@nec-labs.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions