xfs: vectorise remaining shortform dir2 ops
authorDave Chinner <dchinner@redhat.com>
Tue, 29 Oct 2013 11:11:47 +0000 (22:11 +1100)
committerBen Myers <bpm@sgi.com>
Wed, 30 Oct 2013 18:38:59 +0000 (13:38 -0500)
commit4740175e75f70ab71f76ae98ab00f7db731a48f7
tree716ca450f8fc545b6dd14d8052a81d6d440a7f16
parent32c5483a8a13a43264809144210ec114dd70b611
xfs: vectorise remaining shortform dir2 ops

Following from the initial patch to introduce the directory
operations vector, convert the rest of the shortform directory
operations to use vectored ops rather than superblock feature
checks. This further reduces the size of the built binary:

   text    data     bss     dec     hex filename
 794490   96802    1096  892388   d9de4 fs/xfs/xfs.o.orig
 792986   96802    1096  890884   d9804 fs/xfs/xfs.o.p1
 792350   96802    1096  890248   d9588 fs/xfs/xfs.o.p2

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_da_format.c
fs/xfs/xfs_da_format.h
fs/xfs/xfs_dir2.h
fs/xfs/xfs_dir2_block.c
fs/xfs/xfs_dir2_readdir.c
fs/xfs/xfs_dir2_sf.c