Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 12219
b: refs/heads/master
c: e2ed81f
h: refs/heads/master
i:
  12217: 1c2261b
  12215: 99f0c65
v: v3
  • Loading branch information
Eric Sandeen authored and Nathan Scott committed Nov 2, 2005
1 parent 9c18036 commit 659b61f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e94af02a9cd7b6590bec81df9d6ab857d6cf322f
refs/heads/master: e2ed81fbbb7c76e0a1b3e2f1b5a7414f4d66a559
8 changes: 0 additions & 8 deletions trunk/fs/xfs/xfs_iomap.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ xfs_iomap_write_direct(
xfs_fileoff_t offset_fsb;
xfs_fileoff_t last_fsb;
xfs_filblks_t count_fsb;
xfs_fsize_t isize;
xfs_fsblock_t firstfsb;
int nimaps;
int error;
Expand All @@ -374,7 +373,6 @@ xfs_iomap_write_direct(
xfs_trans_t *tp;
xfs_bmbt_irec_t imap;
xfs_bmap_free_t free_list;
int aeof;
xfs_filblks_t qblocks, resblks;
int committed;
int resrtextents;
Expand All @@ -387,12 +385,6 @@ xfs_iomap_write_direct(
if (error)
return XFS_ERROR(error);

isize = ip->i_d.di_size;
aeof = (offset + count) > isize;

if (io->io_new_size > isize)
isize = io->io_new_size;

offset_fsb = XFS_B_TO_FSBT(mp, offset);
last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count)));
count_fsb = last_fsb - offset_fsb;
Expand Down

0 comments on commit 659b61f

Please sign in to comment.