]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4be757d324ac19e249da22bbc5c83467eb9624c3
treef96da98b6e470891eee9084eff924b85b43d6e7e
parent971786ea0d1f6ce07c427305920e9586898fed9a
xfs: bulkstat main loop logic is a mess

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