xfs: consolidate xfs_inumbers
authorJie Liu <jeff.liu@oracle.com>
Thu, 24 Jul 2014 02:11:47 +0000 (12:11 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 24 Jul 2014 02:11:47 +0000 (12:11 +1000)
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>
fs/xfs/xfs_ioctl32.c
fs/xfs/xfs_itable.c

index e65ea67..cf63418 100644 (file)
@@ -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)
 {
Simple merge