[PATCH] xfs: un-static xfs_inobt_lookup
Felix Blyakher
felixb at sgi.com
Tue Sep 1 20:37:56 CDT 2009
On Sep 1, 2009, at 6:56 PM, Christoph Hellwig wrote:
>
> xfs_inobt_lookup is also used in xfs_itable.c, remove the STATIC
> modifier
> from it's declaration to fix non-debug builds.
Argh! I think, this or similar thing bit us once in past.
>
>
> This was already fixed in my git tree vs the version last posted to
> the
> list.
Applying it quickly to the oss as well.
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Felix Blyakher <felixb at sgi.com>
>
>
> Index: xfs/fs/xfs/xfs_ialloc.c
> ===================================================================
> --- xfs.orig/fs/xfs/xfs_ialloc.c 2009-09-01 20:47:28.515468366 -0300
> +++ xfs/fs/xfs/xfs_ialloc.c 2009-09-01 20:47:33.867913011 -0300
> @@ -59,7 +59,7 @@ xfs_ialloc_cluster_alignment(
> /*
> * Lookup a record by ino in the btree given by cur.
> */
> -STATIC int /* error */
> +int /* error */
> xfs_inobt_lookup(
> struct xfs_btree_cur *cur, /* btree cursor */
> xfs_agino_t ino, /* starting inode of chunk */
>
> _______________________________________________
> xfs mailing list
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
More information about the xfs
mailing list