Skip to content

Commit

Permalink
xfs: rename xfs_sync.[ch] to xfs_icache.[ch]
Browse files Browse the repository at this point in the history
xfs_sync.c now only contains inode reclaim functions and inode cache
iteration functions. It is not related to sync operations anymore.
Rename to xfs_icache.c to reflect it's contents and prepare for
consolidation with the other inode cache file that exists
(xfs_iget.c).

Signed-off-by: Dave Chinner <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Mark Tinguely <[email protected]>
Signed-off-by: Ben Myers <[email protected]>
  • Loading branch information
Dave Chinner authored and Ben Myers committed Oct 17, 2012
1 parent c75921a commit 6d8b79c
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fs/xfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ xfs-y += xfs_aops.o \
xfs_fsops.o \
xfs_fs_subr.o \
xfs_globals.o \
xfs_icache.o \
xfs_iget.o \
xfs_ioctl.o \
xfs_iomap.o \
Expand All @@ -47,7 +48,6 @@ xfs-y += xfs_aops.o \
xfs_message.o \
xfs_mru_cache.o \
xfs_super.o \
xfs_sync.o \
xfs_xattr.o \
xfs_rename.o \
xfs_utils.o \
Expand Down
1 change: 1 addition & 0 deletions fs/xfs/xfs_sync.c → fs/xfs/xfs_icache.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include "xfs_quota.h"
#include "xfs_trace.h"
#include "xfs_fsops.h"
#include "xfs_icache.h"

#include <linux/kthread.h>
#include <linux/freezer.h>
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions fs/xfs/xfs_iget.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include "xfs_inode_item.h"
#include "xfs_bmap.h"
#include "xfs_trace.h"
#include "xfs_icache.h"


/*
Expand Down
1 change: 1 addition & 0 deletions fs/xfs/xfs_mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include "xfs_fsops.h"
#include "xfs_utils.h"
#include "xfs_trace.h"
#include "xfs_icache.h"


#ifdef HAVE_PERCPU_SB
Expand Down
2 changes: 0 additions & 2 deletions fs/xfs/xfs_mount.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ typedef struct xfs_trans_reservations {

#else /* __KERNEL__ */

#include "xfs_sync.h"

struct xlog;
struct xfs_inode;
struct xfs_mru_cache;
Expand Down
1 change: 1 addition & 0 deletions fs/xfs/xfs_qm_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include "xfs_utils.h"
#include "xfs_qm.h"
#include "xfs_trace.h"
#include "xfs_icache.h"

STATIC int xfs_qm_log_quotaoff(xfs_mount_t *, xfs_qoff_logitem_t **, uint);
STATIC int xfs_qm_log_quotaoff_end(xfs_mount_t *, xfs_qoff_logitem_t *,
Expand Down
2 changes: 1 addition & 1 deletion fs/xfs/xfs_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include "xfs_extfree_item.h"
#include "xfs_mru_cache.h"
#include "xfs_inode_item.h"
#include "xfs_sync.h"
#include "xfs_icache.h"
#include "xfs_trace.h"

#include <linux/namei.h>
Expand Down

0 comments on commit 6d8b79c

Please sign in to comment.