diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-08-12 06:49:47 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-12 17:55:17 -0400 |
commit | e546cb79ef7ebe53060369dae665fa449a544353 (patch) | |
tree | 06fc6552389e191a7a330057773c19a9428cad04 /fs/xfs/xfs_inode.h | |
parent | f6bba2017afb3bda8f2a27d6ba9d7023e8ff7f37 (diff) |
xfs: consolidate xfs_utils.c
There are a few small helper functions in xfs_util, all related to
xfs_inode modifications. Move them all to xfs_inode.c so all
xfs_inode operations are consiolidated in the one place.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 2a6347038cd8..4a91358c1470 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h | |||
@@ -360,6 +360,13 @@ void xfs_lock_two_inodes(xfs_inode_t *, xfs_inode_t *, uint); | |||
360 | 360 | ||
361 | xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip); | 361 | xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip); |
362 | 362 | ||
363 | int xfs_dir_ialloc(struct xfs_trans **, struct xfs_inode *, umode_t, | ||
364 | xfs_nlink_t, xfs_dev_t, prid_t, int, | ||
365 | struct xfs_inode **, int *); | ||
366 | int xfs_droplink(struct xfs_trans *, struct xfs_inode *); | ||
367 | int xfs_bumplink(struct xfs_trans *, struct xfs_inode *); | ||
368 | void xfs_bump_ino_vers2(struct xfs_trans *, struct xfs_inode *); | ||
369 | |||
363 | /* from xfs_file.c */ | 370 | /* from xfs_file.c */ |
364 | int xfs_zero_eof(struct xfs_inode *, xfs_off_t, xfs_fsize_t); | 371 | int xfs_zero_eof(struct xfs_inode *, xfs_off_t, xfs_fsize_t); |
365 | int xfs_iozero(struct xfs_inode *, loff_t, size_t); | 372 | int xfs_iozero(struct xfs_inode *, loff_t, size_t); |