diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-09-23 16:11:43 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-09-23 16:11:43 +1000 |
commit | ea95961df714f7fc446aa4bedfc61510ed1b59cc (patch) | |
tree | 22a03f2b5029893b1b5603580df29633fd37bb19 /fs | |
parent | e3cf17962a757e59fed2cbcbda6373c1b35a35dd (diff) | |
download | linux-stable-ea95961df714f7fc446aa4bedfc61510ed1b59cc.tar.gz linux-stable-ea95961df714f7fc446aa4bedfc61510ed1b59cc.tar.bz2 linux-stable-ea95961df714f7fc446aa4bedfc61510ed1b59cc.zip |
xfs: xfs_rtget_summary can be static
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/xfs_rtalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c index d1160cce5dad..d45aebe04dde 100644 --- a/fs/xfs/xfs_rtalloc.c +++ b/fs/xfs/xfs_rtalloc.c @@ -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 */ |