Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1342721 > unrolled thread

[PATCH v2 71/84] staging/lustre: Remove RELEASEPAGE_ARG_TYPE compat macro

Started bygreen@linuxhacker.ru
First post2016-02-25 04:10 +0100
Last post2016-02-25 04:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 71/84] staging/lustre: Remove RELEASEPAGE_ARG_TYPE compat macro green@linuxhacker.ru - 2016-02-25 04:10 +0100

#1342721 — [PATCH v2 71/84] staging/lustre: Remove RELEASEPAGE_ARG_TYPE compat macro

Fromgreen@linuxhacker.ru
Date2016-02-25 04:10 +0100
Subject[PATCH v2 71/84] staging/lustre: Remove RELEASEPAGE_ARG_TYPE compat macro
Message-ID<r5Utu-5ZP-69@gated-at.bofh.it>
From: Oleg Drokin <green@linuxhacker.ru>

Not used in the kernel proper.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
---
 drivers/staging/lustre/lustre/llite/rw26.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/staging/lustre/lustre/llite/rw26.c b/drivers/staging/lustre/lustre/llite/rw26.c
index 64110c5..6a5762e 100644
--- a/drivers/staging/lustre/lustre/llite/rw26.c
+++ b/drivers/staging/lustre/lustre/llite/rw26.c
@@ -109,12 +109,7 @@ static void ll_invalidatepage(struct page *vmpage, unsigned int offset,
 	}
 }
 
-#ifdef HAVE_RELEASEPAGE_WITH_INT
-#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)
+static int ll_releasepage(struct page *vmpage, gfp_t gfp_mask)
 {
 	struct cl_env_nest nest;
 	struct lu_env     *env;
-- 
2.1.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web