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)
commit36a02de5d7981435931d4608ee3e510b752e072b
treed0d8283ba3ab9bcb9224582677d8ec00ec987ef3
parentb4cf1e08c8ac95eff65faa53904f7f13ac78194b
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