]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: move getdents code into it's own file
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Aug 2013 10:49:36 +0000 (20:49 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 12 Aug 2013 21:39:56 +0000 (16:39 -0500)
commitcd2428c0cfe1eb3220b00df46335fc5ba7cea28c
treeac3d22e894df58c38326bada04073d283c90dee5
parent5e713d84f0ff05e35d4384f5662eb411e8e881fc
xfs: move getdents code into it's own file

The directory readdir code is not used by userspace, but it is
intermingled with files that are shared with userspace. This makes
it difficult to compare the differences between the userspac eand
kernel files are the userspace files don't have the getdents code in
them. Move all the kernel getdents code to a separate file to bring
the shared content between userspace and kernel files closer
together.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/Makefile
fs/xfs/xfs_dir2.c
fs/xfs/xfs_dir2_block.c
fs/xfs/xfs_dir2_leaf.c
fs/xfs/xfs_dir2_priv.h
fs/xfs/xfs_dir2_readdir.c [new file with mode: 0644]
fs/xfs/xfs_dir2_sf.c