xfs: bulkstat main loop logic is a mess
authorDave Chinner <dchinner@redhat.com>
Thu, 6 Nov 2014 21:31:13 +0000 (08:31 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 6 Nov 2014 21:31:13 +0000 (08:31 +1100)
There are a bunch of variables tha tare more wildy scoped than they
need to be, obfuscated user buffer checks and tortured "next inode"
tracking. This all needs cleaning up to expose the real issues that
need fixing.

cc: <stable@vger.kernel.org> # 3.17
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_itable.c

Simple merge