aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 88a517fad07b..48146bdc6bdd 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -160,7 +160,7 @@ xfs_inotobp(
160 xfs_dinode_t *dip; 160 xfs_dinode_t *dip;
161 161
162 /* 162 /*
163 * Call the space managment code to find the location of the 163 * Call the space management code to find the location of the
164 * inode on disk. 164 * inode on disk.
165 */ 165 */
166 imap.im_blkno = 0; 166 imap.im_blkno = 0;
@@ -837,7 +837,7 @@ xfs_dic2xflags(
837 837
838/* 838/*
839 * Given a mount structure and an inode number, return a pointer 839 * Given a mount structure and an inode number, return a pointer
840 * to a newly allocated in-core inode coresponding to the given 840 * to a newly allocated in-core inode corresponding to the given
841 * inode number. 841 * inode number.
842 * 842 *
843 * Initialize the inode's attributes and extent pointers if it 843 * Initialize the inode's attributes and extent pointers if it
@@ -2723,7 +2723,7 @@ xfs_ipin(
2723/* 2723/*
2724 * Decrement the pin count of the given inode, and wake up 2724 * Decrement the pin count of the given inode, and wake up
2725 * anyone in xfs_iwait_unpin() if the count goes to 0. The 2725 * anyone in xfs_iwait_unpin() if the count goes to 0. The
2726 * inode must have been previoulsy pinned with a call to xfs_ipin(). 2726 * inode must have been previously pinned with a call to xfs_ipin().
2727 */ 2727 */
2728void 2728void
2729xfs_iunpin( 2729xfs_iunpin(
@@ -3690,7 +3690,7 @@ void
3690xfs_iext_add( 3690xfs_iext_add(
3691 xfs_ifork_t *ifp, /* inode fork pointer */ 3691 xfs_ifork_t *ifp, /* inode fork pointer */
3692 xfs_extnum_t idx, /* index to begin adding exts */ 3692 xfs_extnum_t idx, /* index to begin adding exts */
3693 int ext_diff) /* nubmer of extents to add */ 3693 int ext_diff) /* number of extents to add */
3694{ 3694{
3695 int byte_diff; /* new bytes being added */ 3695 int byte_diff; /* new bytes being added */
3696 int new_size; /* size of extents after adding */ 3696 int new_size; /* size of extents after adding */
@@ -4038,7 +4038,7 @@ xfs_iext_remove_indirect(
4038 xfs_extnum_t ext_diff; /* extents to remove in current list */ 4038 xfs_extnum_t ext_diff; /* extents to remove in current list */
4039 xfs_extnum_t nex1; /* number of extents before idx */ 4039 xfs_extnum_t nex1; /* number of extents before idx */
4040 xfs_extnum_t nex2; /* extents after idx + count */ 4040 xfs_extnum_t nex2; /* extents after idx + count */
4041 int nlists; /* entries in indirecton array */ 4041 int nlists; /* entries in indirection array */
4042 int page_idx = idx; /* index in target extent list */ 4042 int page_idx = idx; /* index in target extent list */
4043 4043
4044 ASSERT(ifp->if_flags & XFS_IFEXTIREC); 4044 ASSERT(ifp->if_flags & XFS_IFEXTIREC);
@@ -4291,9 +4291,9 @@ xfs_iext_bno_to_ext(
4291 xfs_filblks_t blockcount = 0; /* number of blocks in extent */ 4291 xfs_filblks_t blockcount = 0; /* number of blocks in extent */
4292 xfs_bmbt_rec_t *ep = NULL; /* pointer to target extent */ 4292 xfs_bmbt_rec_t *ep = NULL; /* pointer to target extent */
4293 xfs_ext_irec_t *erp = NULL; /* indirection array pointer */ 4293 xfs_ext_irec_t *erp = NULL; /* indirection array pointer */
4294 int high; /* upper boundry in search */ 4294 int high; /* upper boundary in search */
4295 xfs_extnum_t idx = 0; /* index of target extent */ 4295 xfs_extnum_t idx = 0; /* index of target extent */
4296 int low; /* lower boundry in search */ 4296 int low; /* lower boundary in search */
4297 xfs_extnum_t nextents; /* number of file extents */ 4297 xfs_extnum_t nextents; /* number of file extents */
4298 xfs_fileoff_t startoff = 0; /* start offset of extent */ 4298 xfs_fileoff_t startoff = 0; /* start offset of extent */
4299 4299