]> git.karo-electronics.de Git - linux-beck.git/commitdiff
xfs: rename xfs_sync.[ch] to xfs_icache.[ch]
authorDave Chinner <dchinner@redhat.com>
Mon, 8 Oct 2012 10:56:09 +0000 (21:56 +1100)
committerBen Myers <bpm@sgi.com>
Wed, 17 Oct 2012 18:40:09 +0000 (13:40 -0500)
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 <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/Makefile
fs/xfs/xfs_icache.c [moved from fs/xfs/xfs_sync.c with 99% similarity]
fs/xfs/xfs_icache.h [moved from fs/xfs/xfs_sync.h with 100% similarity]
fs/xfs/xfs_iget.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_qm_syscalls.c
fs/xfs/xfs_super.c

index d2bf974b1a2f68db6a47901cebd060bb49518bd1..442f256dbcac6a3a9b33fdcf65610e9233bf36f8 100644 (file)
@@ -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 \
@@ -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 \
similarity index 99%
rename from fs/xfs/xfs_sync.c
rename to fs/xfs/xfs_icache.c
index 7b630288bab5a37a843d645706fa5b803d1877da..eba216f11d5e91af23c5cdf110bd82b0cc7c6bb6 100644 (file)
@@ -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>
similarity index 100%
rename from fs/xfs/xfs_sync.h
rename to fs/xfs/xfs_icache.h
index 784a803383ec01d670366fc6a334dcc9442176ca..069c5ceb9459d490362a22d1ac1bbdc52efa821d 100644 (file)
@@ -38,6 +38,7 @@
 #include "xfs_inode_item.h"
 #include "xfs_bmap.h"
 #include "xfs_trace.h"
+#include "xfs_icache.h"
 
 
 /*
index c195ec85c7253cd1efbcb49bdf58b39775a69f5a..6f1c997704cdc8c8065a907dc4e7096d256fe3b4 100644 (file)
@@ -42,6 +42,7 @@
 #include "xfs_fsops.h"
 #include "xfs_utils.h"
 #include "xfs_trace.h"
+#include "xfs_icache.h"
 
 
 #ifdef HAVE_PERCPU_SB
index 7c417b6b99ee24d44d6d9e0731b572fc9949f0a8..a631ca3b9065469d39a688da1f906bc6a6063bf2 100644 (file)
@@ -51,8 +51,6 @@ typedef struct xfs_trans_reservations {
 
 #else /* __KERNEL__ */
 
-#include "xfs_sync.h"
-
 struct xlog;
 struct xfs_inode;
 struct xfs_mru_cache;
index 858a3b186110ab74760ebebf0d6b8c1326a9ee5a..7a9071f8855fc85b09d324b4d9115eaad4e7da85 100644 (file)
@@ -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 *,
index fdedf2cabae3a3936de1c4c4fe1525ccdadda9bd..3d9ea947e9f80d347518c98081be7c645799a8fa 100644 (file)
@@ -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>