On 06/01/2014 10:24 PM, Naoya Horiguchi wrote:
> -#define PAGECACHE_TAG_DIRTY 0
> -#define PAGECACHE_TAG_WRITEBACK 1
> -#define PAGECACHE_TAG_TOWRITE 2
> +enum {
> + PAGECACHE_TAG_DIRTY,
> + PAGECACHE_TAG_WRITEBACK,
> + PAGECACHE_TAG_TOWRITE,
> + __NR_PAGECACHE_TAGS,
> +};
Doesn't this end up exposing kernel-internal values out to a userspace
interface? Wouldn't that lock these values in to the ABI?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/