]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - fsr/xfs_fsr.c
fsr: more tidy up work
authorEric Sandeen <sandeen@sandeen.net>
Mon, 23 Nov 2015 04:24:24 +0000 (15:24 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 23 Nov 2015 04:24:24 +0000 (15:24 +1100)
commit7849d55d35d504d14cf9a6925c2b8b86737ee530
tree159b1790cab64757c77f85175d21f1e5e65751f1
parentc8b04a65f46fc0d8286438e66a90104d28102cd0
fsr: more tidy up work

Make the mountpoint stat structure "ms" local to
find_mountpoint_check(), no caller uses it.  And remove 3rd "sb2"
statbuf in that same function, we can just re-use ms.

rename "struct mntent *mp" to "struct mntent *mnt" - "mp" has its
own common meaning in xfsprogs.

And a couple more minor whitespace removals.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fsr/xfs_fsr.c