diff options
author | Jie Liu <jeff.liu@oracle.com> | 2014-07-23 22:11:47 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-07-23 22:11:47 -0400 |
commit | 549fa00679dd14beaaa685486549c637e8e02182 (patch) | |
tree | ed62bcf174d4ada1cc71d3e233f1f2f627f45c45 /fs/xfs/xfs_ioctl32.c | |
parent | d716f8eedb143387afd35d337327090b8348159e (diff) |
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.c | 2 |
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( | |||
102 | STATIC int | 102 | STATIC int |
103 | xfs_inumbers_fmt_compat( | 103 | xfs_inumbers_fmt_compat( |
104 | void __user *ubuffer, | 104 | void __user *ubuffer, |
105 | const xfs_inogrp_t *buffer, | 105 | const struct xfs_inogrp *buffer, |
106 | long count, | 106 | long count, |
107 | long *written) | 107 | long *written) |
108 | { | 108 | { |