]> git.baikalelectronics.ru Git - kernel.git/commit
FS-Cache: Convert the object event ID #defines into an enum
authorDavid Howells <dhowells@redhat.com>
Wed, 5 Dec 2012 13:34:46 +0000 (13:34 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 20 Dec 2012 22:08:05 +0000 (22:08 +0000)
commit9fc6492d154cf4e18eab9a6e260178475b2d03d4
treed0d8283ba3ab9bcb9224582677d8ec00ec987ef3
parentbd5a6177ce8e621c4531f05a82720270d9a501e6
FS-Cache: Convert the object event ID #defines into an enum

Convert the fscache_object event IDs from #defines into an enum.  Also add an
extra label to the enum to carry the event count and redefine the event mask
in terms of that.

Signed-off-by: David Howells <dhowells@redhat.com>
include/linux/fscache-cache.h