[Top] [All Lists]

Re: [PATCH 2/2] xfs_quota: fix report command parsing

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 2/2] xfs_quota: fix report command parsing
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Tue, 13 Nov 2012 12:02:11 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1352444578-14600-3-git-send-email-david@xxxxxxxxxxxxx>
References: <1352444578-14600-1-git-send-email-david@xxxxxxxxxxxxx> <1352444578-14600-3-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 11/09/12 01:02, Dave Chinner wrote:
From: Dave Chinner<dchinner@xxxxxxxxxx>

The report command line needs to be parsed as a whole not as
individual elements - report_f() is set up to do this correctly.
When treated as non-global command line, the report function is
called once for each command line arg, resulting in reports being
issued multiple times.

Set the command to be a global command so that it is only called

Signed-off-by: Dave Chinner<dchinner@xxxxxxxxxx>

Solves the duplicate listings.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>