diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-05-20 07:46:40 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-05-20 07:46:40 +1000 |
commit | 263997a6842b27a49f42bd795c5dd12242917b22 (patch) | |
tree | 200787e719da8e4e91a04d1235e47538aa4b85eb /fs/xfs/xfs_inode.h | |
parent | 32bf1deae15b67839a2f0cb233254125be73fc78 (diff) | |
download | linux-263997a6842b27a49f42bd795c5dd12242917b22.tar.gz linux-263997a6842b27a49f42bd795c5dd12242917b22.tar.bz2 linux-263997a6842b27a49f42bd795c5dd12242917b22.zip |
xfs: turn NLINK feature on by default
mkfs has turned on the XFS_SB_VERSION_NLINKBIT feature bit by
default since November 2007. It's about time we simply made the
kernel code turn it on by default and so always convert v1 inodes to
v2 inodes when reading them in from disk or allocating them. This
This removes needless version checks and modification when bumping
link counts on inodes, and will take code out of a few common code
paths.
text data bss dec hex filename
783251 100867 616 884734 d7ffe fs/xfs/xfs.o.orig
782664 100867 616 884147 d7db3 fs/xfs/xfs.o.patched
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 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index f2fcde52b66d..d331a0e040eb 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -379,7 +379,6 @@ int xfs_dir_ialloc(struct xfs_trans **, struct xfs_inode *, umode_t, struct xfs_inode **, int *); int xfs_droplink(struct xfs_trans *, struct xfs_inode *); int xfs_bumplink(struct xfs_trans *, struct xfs_inode *); -void xfs_bump_ino_vers2(struct xfs_trans *, struct xfs_inode *); /* from xfs_file.c */ int xfs_zero_eof(struct xfs_inode *, xfs_off_t, xfs_fsize_t); |