staging/lustre/ldlm: Fix up LDLM_POOL_SYSFS_WRITER*_STORE define
authorOleg Drokin <green@linuxhacker.ru>
Sun, 31 May 2015 06:47:22 +0000 (02:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 22:18:14 +0000 (07:18 +0900)
commit1185aaf55c20a1dfea8b7362e954da55e0e84fa7
treeb8d3d63f452c44792bc95ff03d3e7484a2cd1a59
parentf6758e7961e9158c55028f25cfa0c387bb8fe81b
staging/lustre/ldlm: Fix up LDLM_POOL_SYSFS_WRITER*_STORE define

The store method defined by LDLM_POOL_SYSFS_WRITER_STORE and
LDLM_POOL_SYSFS_WRITER_NOLOCK_STORE defines should
use size_t count, not unsigned long.

This produced a warning on i386 (and other 32bit architectures too,
I guess) where unsigned long is not 32 bit.

Reported by kbuild test bot.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_internal.h