Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -3
+1 -2
fs/cachefiles/namei.c
··· 40 40 printk(KERN_ERR "%sobjstate=%s fl=%lx wbusy=%x ev=%lx[%lx]\n", 41 41 prefix, fscache_object_states[object->fscache.state], 42 42 object->fscache.flags, work_busy(&object->fscache.work), 43 - object->fscache.events, 44 - object->fscache.event_mask & FSCACHE_OBJECT_EVENTS_MASK); 43 + object->fscache.events, object->fscache.event_mask); 45 44 printk(KERN_ERR "%sops=%u inp=%u exc=%u\n", 46 45 prefix, object->fscache.n_ops, object->fscache.n_in_progress, 47 46 object->fscache.n_exclusive);
+1 -1
fs/fscache/object-list.c
··· 245 245 obj->n_in_progress, 246 246 obj->n_exclusive, 247 247 atomic_read(&obj->n_reads), 248 - obj->event_mask & FSCACHE_OBJECT_EVENTS_MASK, 248 + obj->event_mask, 249 249 obj->events, 250 250 obj->flags, 251 251 work_busy(&obj->work));