xfs: xfs_rtget_summary can be static
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 23 Sep 2014 06:11:43 +0000 (16:11 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 23 Sep 2014 06:11:43 +0000 (16:11 +1000)
Fix sparse warning introduced by commit afabfd3 ("xfs: combine
xfs_rtmodify_summary and xfs_rtget_summary").

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_rtalloc.c

index d1160cce5dad80c91a4f7604ea0423408e2145b7..d45aebe04dde2f51ce4395cad1e20c79574fca64 100644 (file)
@@ -46,7 +46,7 @@
  * Keeps track of a current summary block, so we don't keep reading
  * it from the buffer cache.
  */
-int
+static int
 xfs_rtget_summary(
        xfs_mount_t     *mp,            /* file system mount structure */
        xfs_trans_t     *tp,            /* transaction pointer */