xfs_quota: push id/name printing down into report_mount()
Push the printing of the id number and/or name during quota
reporting down into report_mount(), rather than doing it in
the caller.
This lets the next patch do a lookup of any ID found with
a quota, when upper/lower ID bounds are specified. This patch,
however, changes no behavior. Both the ID and the name are
passed in, and which one gets printed depends on the
presence of the NO_LOOKUP_FLAG.
If "NULL" is passed in (as in the upper/lower ID search case),
then as before, only the ID is printed. Next patch changes this.
Drops a few lines of code as well.
Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>