Commit 6d8b79cf authored by Dave Chinner's avatar Dave Chinner Committed by Ben Myers

xfs: rename xfs_sync.[ch] to xfs_icache.[ch]

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: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarMark Tinguely <tinguely@sgi.com>
Signed-off-by: default avatarBen Myers <bpm@sgi.com>
parent c75921a7
...@@ -39,6 +39,7 @@ xfs-y += xfs_aops.o \ ...@@ -39,6 +39,7 @@ xfs-y += xfs_aops.o \
xfs_fsops.o \ xfs_fsops.o \
xfs_fs_subr.o \ xfs_fs_subr.o \
xfs_globals.o \ xfs_globals.o \
xfs_icache.o \
xfs_iget.o \ xfs_iget.o \
xfs_ioctl.o \ xfs_ioctl.o \
xfs_iomap.o \ xfs_iomap.o \
...@@ -47,7 +48,6 @@ xfs-y += xfs_aops.o \ ...@@ -47,7 +48,6 @@ xfs-y += xfs_aops.o \
xfs_message.o \ xfs_message.o \
xfs_mru_cache.o \ xfs_mru_cache.o \
xfs_super.o \ xfs_super.o \
xfs_sync.o \
xfs_xattr.o \ xfs_xattr.o \
xfs_rename.o \ xfs_rename.o \
xfs_utils.o \ xfs_utils.o \
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include "xfs_quota.h" #include "xfs_quota.h"
#include "xfs_trace.h" #include "xfs_trace.h"
#include "xfs_fsops.h" #include "xfs_fsops.h"
#include "xfs_icache.h"
#include <linux/kthread.h> #include <linux/kthread.h>
#include <linux/freezer.h> #include <linux/freezer.h>
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include "xfs_inode_item.h" #include "xfs_inode_item.h"
#include "xfs_bmap.h" #include "xfs_bmap.h"
#include "xfs_trace.h" #include "xfs_trace.h"
#include "xfs_icache.h"
/* /*
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include "xfs_fsops.h" #include "xfs_fsops.h"
#include "xfs_utils.h" #include "xfs_utils.h"
#include "xfs_trace.h" #include "xfs_trace.h"
#include "xfs_icache.h"
#ifdef HAVE_PERCPU_SB #ifdef HAVE_PERCPU_SB
......
...@@ -51,8 +51,6 @@ typedef struct xfs_trans_reservations { ...@@ -51,8 +51,6 @@ typedef struct xfs_trans_reservations {
#else /* __KERNEL__ */ #else /* __KERNEL__ */
#include "xfs_sync.h"
struct xlog; struct xlog;
struct xfs_inode; struct xfs_inode;
struct xfs_mru_cache; struct xfs_mru_cache;
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include "xfs_utils.h" #include "xfs_utils.h"
#include "xfs_qm.h" #include "xfs_qm.h"
#include "xfs_trace.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(xfs_mount_t *, xfs_qoff_logitem_t **, uint);
STATIC int xfs_qm_log_quotaoff_end(xfs_mount_t *, xfs_qoff_logitem_t *, STATIC int xfs_qm_log_quotaoff_end(xfs_mount_t *, xfs_qoff_logitem_t *,
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
#include "xfs_extfree_item.h" #include "xfs_extfree_item.h"
#include "xfs_mru_cache.h" #include "xfs_mru_cache.h"
#include "xfs_inode_item.h" #include "xfs_inode_item.h"
#include "xfs_sync.h" #include "xfs_icache.h"
#include "xfs_trace.h" #include "xfs_trace.h"
#include <linux/namei.h> #include <linux/namei.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment