From: Dan Carpenter Date: Tue, 20 Mar 2012 16:58:06 +0000 (+0000) Subject: AFS: checking wrong bit in afs_readpages() X-Git-Tag: v3.4-rc1~189 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad2a8e6078a16d3b61b530f1447110841c36ae56;p=pandora-kernel.git AFS: checking wrong bit in afs_readpages() We should be testing "if (vnode->flags & (1 << 4))" instead of "if (vnode->flags & 4) {". The current test checks if the data was modified instead of deleted. Signed-off-by: Dan Carpenter Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed