Commit 46f93a14 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre: Remove RELEASEPAGE_ARG_TYPE compat macro

Not used in the kernel proper.
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 066edf2b
...@@ -109,12 +109,7 @@ static void ll_invalidatepage(struct page *vmpage, unsigned int offset, ...@@ -109,12 +109,7 @@ static void ll_invalidatepage(struct page *vmpage, unsigned int offset,
} }
} }
#ifdef HAVE_RELEASEPAGE_WITH_INT static int ll_releasepage(struct page *vmpage, gfp_t gfp_mask)
#define RELEASEPAGE_ARG_TYPE int
#else
#define RELEASEPAGE_ARG_TYPE gfp_t
#endif
static int ll_releasepage(struct page *vmpage, RELEASEPAGE_ARG_TYPE gfp_mask)
{ {
struct cl_env_nest nest; struct cl_env_nest nest;
struct lu_env *env; struct lu_env *env;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment