xfs: make several functions static
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@sandeen.net> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:

committed by
Dave Chinner

parent
0c871f9a10
commit
0d5a75e9e2
@@ -788,7 +788,7 @@ xfs_log_mount_cancel(
|
||||
* As far as I know, there weren't any dependencies on the old behaviour.
|
||||
*/
|
||||
|
||||
int
|
||||
static int
|
||||
xfs_log_unmount_write(xfs_mount_t *mp)
|
||||
{
|
||||
struct xlog *log = mp->m_log;
|
||||
@@ -1036,7 +1036,7 @@ xfs_log_space_wake(
|
||||
* there's no point in running a dummy transaction at this point because we
|
||||
* can't start trying to idle the log until both the CIL and AIL are empty.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
xfs_log_need_covered(xfs_mount_t *mp)
|
||||
{
|
||||
struct xlog *log = mp->m_log;
|
||||
@@ -1177,7 +1177,7 @@ xlog_space_left(
|
||||
* The log manager needs its own routine, in order to control what
|
||||
* happens with the buffer after the write completes.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
xlog_iodone(xfs_buf_t *bp)
|
||||
{
|
||||
struct xlog_in_core *iclog = bp->b_fspriv;
|
||||
@@ -1302,7 +1302,7 @@ xfs_log_work_queue(
|
||||
* disk. If there is nothing dirty, then we might need to cover the log to
|
||||
* indicate that the filesystem is idle.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
xfs_log_worker(
|
||||
struct work_struct *work)
|
||||
{
|
||||
|
Reference in New Issue
Block a user