ramster: Fix compile warnings due to usage of debugfs_create_size_t

We get tons of "note: expected ‘size_t *’ but argument is of type ‘long
int *’" warnings. This fixes it.

Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Konrad Rzeszutek Wilk 2013-02-15 12:53:42 -05:00 committed by Greg Kroah-Hartman
parent 291131cba1
commit 80e9fc9af4
1 changed files with 17 additions and 17 deletions

View File

@ -67,25 +67,25 @@ static int ramster_remote_target_nodenum __read_mostly = -1;
static long ramster_flnodes;
static atomic_t ramster_flnodes_atomic = ATOMIC_INIT(0);
static unsigned long ramster_flnodes_max;
static long ramster_foreign_eph_pages;
static ssize_t ramster_foreign_eph_pages;
static atomic_t ramster_foreign_eph_pages_atomic = ATOMIC_INIT(0);
static unsigned long ramster_foreign_eph_pages_max;
static long ramster_foreign_pers_pages;
static ssize_t ramster_foreign_eph_pages_max;
static ssize_t ramster_foreign_pers_pages;
static atomic_t ramster_foreign_pers_pages_atomic = ATOMIC_INIT(0);
static unsigned long ramster_foreign_pers_pages_max;
static unsigned long ramster_eph_pages_remoted;
static unsigned long ramster_pers_pages_remoted;
static unsigned long ramster_eph_pages_remote_failed;
static unsigned long ramster_pers_pages_remote_failed;
static unsigned long ramster_remote_eph_pages_succ_get;
static unsigned long ramster_remote_pers_pages_succ_get;
static unsigned long ramster_remote_eph_pages_unsucc_get;
static unsigned long ramster_remote_pers_pages_unsucc_get;
static unsigned long ramster_pers_pages_remote_nomem;
static unsigned long ramster_remote_objects_flushed;
static unsigned long ramster_remote_object_flushes_failed;
static unsigned long ramster_remote_pages_flushed;
static unsigned long ramster_remote_page_flushes_failed;
static ssize_t ramster_foreign_pers_pages_max;
static ssize_t ramster_eph_pages_remoted;
static ssize_t ramster_pers_pages_remoted;
static ssize_t ramster_eph_pages_remote_failed;
static ssize_t ramster_pers_pages_remote_failed;
static ssize_t ramster_remote_eph_pages_succ_get;
static ssize_t ramster_remote_pers_pages_succ_get;
static ssize_t ramster_remote_eph_pages_unsucc_get;
static ssize_t ramster_remote_pers_pages_unsucc_get;
static ssize_t ramster_pers_pages_remote_nomem;
static ssize_t ramster_remote_objects_flushed;
static ssize_t ramster_remote_object_flushes_failed;
static ssize_t ramster_remote_pages_flushed;
static ssize_t ramster_remote_page_flushes_failed;
/* FIXME frontswap selfshrinking knobs in debugfs? */
#ifdef CONFIG_DEBUG_FS