xfs
[Top] [All Lists]

Re: [PATCH] do not test return value of xfs_bmap_*_count_leaves

To: Ruben Porras <ruben.porras@xxxxxxxxxxx>
Subject: Re: [PATCH] do not test return value of xfs_bmap_*_count_leaves
From: "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx>
Date: Fri, 28 Mar 2008 11:46:05 -0400
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1206719011.8339.6.camel@marzo>
References: <1206719011.8339.6.camel@marzo>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.16 (2007-06-11)
On Fri, Mar 28, 2008 at 04:43:31PM +0100, Ruben Porras wrote:
> These functions, xfs_bmap_count_leaves and xfs_bmap_disk_count_leaves,
> return always 0. Therefore it is not necessary to test the return value.
 
If it always returns 0, why not make it void?

Josef 'Jeff' Sipek.

-- 
Hegh QaQ law'
quvHa'ghach QaQ puS


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