summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorDavid Howells2012-12-05 14:34:47 +0100
committerDavid Howells2012-12-20 23:08:53 +0100
commitc2d35bfe4b508451b75b5b6bc60a08dbdc44f952 (patch)
treed242eda0597f940c25de2a97cfc68919229f0500 /fs/cachefiles
parentFS-Cache: Initialise the object event mask with the calculated mask (diff)
downloadkernel-qcow2-linux-c2d35bfe4b508451b75b5b6bc60a08dbdc44f952.tar.gz
kernel-qcow2-linux-c2d35bfe4b508451b75b5b6bc60a08dbdc44f952.tar.xz
kernel-qcow2-linux-c2d35bfe4b508451b75b5b6bc60a08dbdc44f952.zip
FS-Cache: Don't mask off the object event mask when printing it
Don't mask off the object event mask when printing it. That way it can be seen if threre are bits set that shouldn't be. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/cachefiles')
-rw-r--r--fs/cachefiles/namei.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c
index b0b5f7cdfffa..8c01c5fcdf75 100644
--- a/fs/cachefiles/namei.c
+++ b/fs/cachefiles/namei.c
@@ -40,8 +40,7 @@ void __cachefiles_printk_object(struct cachefiles_object *object,
printk(KERN_ERR "%sobjstate=%s fl=%lx wbusy=%x ev=%lx[%lx]\n",
prefix, fscache_object_states[object->fscache.state],
object->fscache.flags, work_busy(&object->fscache.work),
- object->fscache.events,
- object->fscache.event_mask & FSCACHE_OBJECT_EVENTS_MASK);
+ object->fscache.events, object->fscache.event_mask);
printk(KERN_ERR "%sops=%u inp=%u exc=%u\n",
prefix, object->fscache.n_ops, object->fscache.n_in_progress,
object->fscache.n_exclusive);