summaryrefslogtreecommitdiffstats
path: root/crypto/ablkcipher.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-05-19 23:41:16 +0200
committerDave Chinner <david@fromorbit.com>2014-05-19 23:41:16 +0200
commitf68a373525d26d1cd7920f9d5dbf0d3aa1b9b889 (patch)
tree82d7f74aaed83d36fa96c125a6c4cd5877406b23 /crypto/ablkcipher.c
parentLinux 3.15-rc5 (diff)
downloadlinux-f68a373525d26d1cd7920f9d5dbf0d3aa1b9b889.tar.xz
linux-f68a373525d26d1cd7920f9d5dbf0d3aa1b9b889.zip
xfs: make superblock version checks reflect reality
We only support filesystems that have v2 directory support, and than means all the checking and handling of superblock versions prior to this support being added is completely unnecessary overhead. Strip out all the version 1-3 support, sanitise the good version checking to reflect the supported versions, update all the feature supported functions and clean up all the support bit definitions to reflect the fact that we no longer care about Irix bootloader flag regions for v4 feature bits. Also, convert the return values to boolean types and remove typedefs from function declarations to clean up calling conventions, too. Because the feature bit checking is all inline code, this relatively small cleanup has a noticable impact on code size: text data bss dec hex filename 785195 100867 616 886678 d8796 fs/xfs/xfs.o.orig 783595 100867 616 885078 d8156 fs/xfs/xfs.o.patched i.e. it reduces it by 1600 bytes. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'crypto/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions