From: Akshat Aranya Date: Fri, 14 Jan 2011 16:00:47 +0000 (+0000) Subject: FS-Cache: Fix operation handling X-Git-Tag: v2.6.38-rc1~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba28b93a5227cc69ec811507f7d85ac25fa20fe2;p=pandora-kernel.git 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 Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed