aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lnet/selftest/brw_test.c
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2016-03-30 19:48:23 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-30 21:38:13 -0700
commit616387e86d531d1d29173aabb8adefb20d316d96 (patch)
treebaeb5b19d76f2f9822a6fcdbd52ad533479f0dd2 /drivers/staging/lustre/lnet/selftest/brw_test.c
parentstaging/lustre/obdclass: limit lu_site hash table size (diff)
downloadlinux-dev-616387e86d531d1d29173aabb8adefb20d316d96.tar.xz
linux-dev-616387e86d531d1d29173aabb8adefb20d316d96.zip
staging/lustre: Get rid of CFS_PAGE_MASK
CFS_PAGE_MASK is the same as PAGE_MASK, so get rid of it. We are replacing it with PAGE_MASK instead of PAGE_CACHE_MASK because PAGE_CACHE_* stuff is apparently going away. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/brw_test.c')
-rw-r--r--drivers/staging/lustre/lnet/selftest/brw_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/brw_test.c b/drivers/staging/lustre/lnet/selftest/brw_test.c
index b33c35694eb1..1988cee36751 100644
--- a/drivers/staging/lustre/lnet/selftest/brw_test.c
+++ b/drivers/staging/lustre/lnet/selftest/brw_test.c
@@ -457,7 +457,7 @@ brw_server_handle(struct srpc_server_rpc *rpc)
if (!(reqstmsg->msg_ses_feats & LST_FEAT_BULK_LEN)) {
/* compat with old version */
- if (reqst->brw_len & ~CFS_PAGE_MASK) {
+ if (reqst->brw_len & ~PAGE_MASK) {
reply->brw_status = EINVAL;
return 0;
}