]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: make xfs_extent_busy_trim not static
authorBen Myers <bpm@sgi.com>
Thu, 10 May 2012 18:55:33 +0000 (13:55 -0500)
committerBen Myers <bpm@sgi.com>
Mon, 14 May 2012 21:21:04 +0000 (16:21 -0500)
commitbb18ed1c9db3044bd64e43ae67a177af77911d6b
treefdd09e1d5b44ec203b1da949f1a65ac2fb2428bb
parent01e09f4d9edccfa2a4cbd996506b132d184b2a7c
xfs: make xfs_extent_busy_trim not static

Commit e459df5, 'xfs: move busy extent handling to it's own file'
moved some code from xfs_alloc.c into xfs_extent_busy.c for
convenience in userspace code merges.  One of the functions moved is
xfs_extent_busy_trim (formerly xfs_alloc_busy_trim) which is defined
STATIC.  Unfortunately this function is still used in xfs_alloc.c, and
this results in an undefined symbol in xfs.ko.

Make xfs_extent_busy_trim not static and add its prototype to
xfs_extent_busy.h.

Signed-off-by: Ben Myers <bpm@sgi.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
fs/xfs/xfs_alloc.c
fs/xfs/xfs_extent_busy.c
fs/xfs/xfs_extent_busy.h