Re: [PATCH] fscache: extended "dying" check before emitting EV_INVALIDATE
From: David Howells
Date: Tue Apr 23 2013 - 12:46:49 EST
Max Kellermann <mk@xxxxxxxxxx> wrote:
> + (object->events & (FSCACHE_OBJECT_EV_RETIRE|FSCACHE_OBJECT_EV_RELEASE)) == 0)
You can't do it like this. EV_RETIRE and EV_RELEASE are bit numbers, so need
to be shifted into place.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/