Skip to content

Commit

Permalink
xfs: remove xfs_iget.c
Browse files Browse the repository at this point in the history
The inode cache functions remaining in xfs_iget.c can be moved to xfs_icache.c
along with the other inode cache functions. This removes all functionality from
xfs_iget.c, so the file can simply be removed.

This move results in various functions now only having the scope of a single
file (e.g. xfs_inode_free()), so clean up all the definitions and exported
prototypes in xfs_icache.[ch] and xfs_inode.h appropriately.

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>
  • Loading branch information
Dave Chinner authored and Ben Myers committed Oct 17, 2012
1 parent fa96aca commit 33479e0
Show file tree
Hide file tree
Showing 12 changed files with 430 additions and 470 deletions.
1 change: 0 additions & 1 deletion fs/xfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ xfs-y += xfs_aops.o \
xfs_fs_subr.o \
xfs_globals.o \
xfs_icache.o \
xfs_iget.o \
xfs_ioctl.o \
xfs_iomap.o \
xfs_iops.o \
Expand Down
1 change: 1 addition & 0 deletions fs/xfs/xfs_export.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "xfs_inode.h"
#include "xfs_inode_item.h"
#include "xfs_trace.h"
#include "xfs_icache.h"

/*
* Note that we only accept fileids which are long enough rather than allow
Expand Down
Loading

0 comments on commit 33479e0

Please sign in to comment.