diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-03-20 17:58:06 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-20 19:14:38 +0100 |
commit | ad2a8e6078a16d3b61b530f1447110841c36ae56 (patch) | |
tree | f926ff62ed28c3bec8527a94b0ac5e46556e8e38 /drivers/misc/eeprom/at25.c | |
parent | Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
download | linux-ad2a8e6078a16d3b61b530f1447110841c36ae56.tar.xz linux-ad2a8e6078a16d3b61b530f1447110841c36ae56.zip |
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 <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/eeprom/at25.c')
0 files changed, 0 insertions, 0 deletions