summary refs log tree commit diff
path: root/fs/xfs/xfs_ioctl32.c
diff options
context:
space:
mode:
authorJie Liu <jeff.liu@oracle.com>2014-07-24 12:11:47 +1000
committerDave Chinner <david@fromorbit.com>2014-07-24 12:11:47 +1000
commit549fa00679dd14beaaa685486549c637e8e02182 (patch)
treeed62bcf174d4ada1cc71d3e233f1f2f627f45c45 /fs/xfs/xfs_ioctl32.c
parentd716f8eedb143387afd35d337327090b8348159e (diff)
downloadlinux-549fa00679dd14beaaa685486549c637e8e02182.tar.gz
xfs: consolidate xfs_inumbers
From: Jie Liu <jeff.liu@oracle.com>

Consolidate xfs_inumbers() to make the formatter function return correct
error and make the source code looks a bit neat.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>

Diffstat (limited to 'fs/xfs/xfs_ioctl32.c')
-rw-r--r--fs/xfs/xfs_ioctl32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_ioctl32.c b/fs/xfs/xfs_ioctl32.c
index e65ea67e3ae3..cf63418bf05f 100644
--- a/fs/xfs/xfs_ioctl32.c
+++ b/fs/xfs/xfs_ioctl32.c
@@ -102,7 +102,7 @@ xfs_compat_growfs_rt_copyin(
 STATIC int
 xfs_inumbers_fmt_compat(
 	void			__user *ubuffer,
-	const xfs_inogrp_t	*buffer,
+	const struct xfs_inogrp	*buffer,
 	long			count,
 	long			*written)
 {