xfs
[Top] [All Lists]

Re: [PATCH] xfs: make several functions static

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH] xfs: make several functions static
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 23 May 2016 07:44:25 -0700
Cc: xfs-oss <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <3ec4e394-1885-6f3e-f909-c9a77a72668b@xxxxxxxxxxx>
References: <3ec4e394-1885-6f3e-f909-c9a77a72668b@xxxxxxxxxxx>
User-agent: Mutt/1.5.24 (2015-08-30)
On Thu, May 19, 2016 at 02:16:25PM -0500, Eric Sandeen wrote:
> Al Viro noticed that xfs_lock_inodes should be static, and
> that led to ... a few more.
> 
> These are just the easy ones, others require moving functions
> higher in source files, so that's not done here to keep
> this review simple.
> 
> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
> ---
> 
> We aren't using STATIC anymore ... right?

We're moving away from it at least, although not very stringently..

> FWIW cross-applying to xfsprogs picks up a handful of these
> as well, and it's still happy too.

Yeah - seems like none of them is of the odd static in kernel but not in
xfsprogs kind.

Looks fine,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

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