diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-29 11:55:36 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-29 11:55:36 -0500 |
| commit | e71ac6032edf77a1e4a81f3e3b260807e94b37a5 (patch) | |
| tree | 62dc600d81f214d44b9e42c0c2316e1a2259c5e9 /fs/xfs/xfs_vnodeops.c | |
| parent | 224b148ef7c9a00642eb33dbdf62f2840bde974f (diff) | |
| parent | c25366680bab32efcbb5eda5f3c202099ba27b81 (diff) | |
Merge git://oss.sgi.com:8090/oss/git/xfs-2.6
* git://oss.sgi.com:8090/oss/git/xfs-2.6:
[XFS] Cleanup in XFS after recent get_block_t interface tweaks.
[XFS] Remove unused/obsoleted function: xfs_bmap_do_search_extents()
[XFS] A change to inode chunk allocation to try allocating the new chunk
Fixes a regression from the recent "remove ->get_blocks() support"
[XFS] Fix compiler warning and small code inconsistencies in compat
[XFS] We really suck at spulling. Thanks to Chris Pascoe for fixing all
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
| -rw-r--r-- | fs/xfs/xfs_vnodeops.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index 0f0a64e81db9..de49601919c1 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
| @@ -848,7 +848,7 @@ xfs_setattr( | |||
| 848 | * If this is a synchronous mount, make sure that the | 848 | * If this is a synchronous mount, make sure that the |
| 849 | * transaction goes to disk before returning to the user. | 849 | * transaction goes to disk before returning to the user. |
| 850 | * This is slightly sub-optimal in that truncates require | 850 | * This is slightly sub-optimal in that truncates require |
| 851 | * two sync transactions instead of one for wsync filesytems. | 851 | * two sync transactions instead of one for wsync filesystems. |
| 852 | * One for the truncate and one for the timestamps since we | 852 | * One for the truncate and one for the timestamps since we |
| 853 | * don't want to change the timestamps unless we're sure the | 853 | * don't want to change the timestamps unless we're sure the |
| 854 | * truncate worked. Truncates are less than 1% of the laddis | 854 | * truncate worked. Truncates are less than 1% of the laddis |
| @@ -1170,7 +1170,7 @@ xfs_fsync( | |||
| 1170 | 1170 | ||
| 1171 | /* | 1171 | /* |
| 1172 | * If this inode is on the RT dev we need to flush that | 1172 | * If this inode is on the RT dev we need to flush that |
| 1173 | * cache aswell. | 1173 | * cache as well. |
| 1174 | */ | 1174 | */ |
| 1175 | if (ip->i_d.di_flags & XFS_DIFLAG_REALTIME) | 1175 | if (ip->i_d.di_flags & XFS_DIFLAG_REALTIME) |
| 1176 | xfs_blkdev_issue_flush(ip->i_mount->m_rtdev_targp); | 1176 | xfs_blkdev_issue_flush(ip->i_mount->m_rtdev_targp); |
| @@ -1380,7 +1380,7 @@ xfs_inactive_symlink_rmt( | |||
| 1380 | */ | 1380 | */ |
| 1381 | ntp = xfs_trans_dup(tp); | 1381 | ntp = xfs_trans_dup(tp); |
| 1382 | /* | 1382 | /* |
| 1383 | * Commit the transaction containing extent freeing and EFD's. | 1383 | * Commit the transaction containing extent freeing and EFDs. |
| 1384 | * If we get an error on the commit here or on the reserve below, | 1384 | * If we get an error on the commit here or on the reserve below, |
| 1385 | * we need to unlock the inode since the new transaction doesn't | 1385 | * we need to unlock the inode since the new transaction doesn't |
| 1386 | * have the inode attached. | 1386 | * have the inode attached. |
| @@ -2023,7 +2023,7 @@ xfs_create( | |||
| 2023 | XFS_QM_DQRELE(mp, gdqp); | 2023 | XFS_QM_DQRELE(mp, gdqp); |
| 2024 | 2024 | ||
| 2025 | /* | 2025 | /* |
| 2026 | * Propogate the fact that the vnode changed after the | 2026 | * Propagate the fact that the vnode changed after the |
| 2027 | * xfs_inode locks have been released. | 2027 | * xfs_inode locks have been released. |
| 2028 | */ | 2028 | */ |
| 2029 | VOP_VNODE_CHANGE(vp, VCHANGE_FLAGS_TRUNCATED, 3); | 2029 | VOP_VNODE_CHANGE(vp, VCHANGE_FLAGS_TRUNCATED, 3); |
| @@ -2370,7 +2370,7 @@ xfs_remove( | |||
| 2370 | * for a log reservation. Since we'll have to wait for the | 2370 | * for a log reservation. Since we'll have to wait for the |
| 2371 | * inactive code to complete before returning from xfs_iget, | 2371 | * inactive code to complete before returning from xfs_iget, |
| 2372 | * we need to make sure that we don't have log space reserved | 2372 | * we need to make sure that we don't have log space reserved |
| 2373 | * when we call xfs_iget. Instead we get an unlocked referece | 2373 | * when we call xfs_iget. Instead we get an unlocked reference |
| 2374 | * to the inode before getting our log reservation. | 2374 | * to the inode before getting our log reservation. |
| 2375 | */ | 2375 | */ |
| 2376 | error = xfs_get_dir_entry(dentry, &ip); | 2376 | error = xfs_get_dir_entry(dentry, &ip); |
| @@ -3020,7 +3020,7 @@ xfs_rmdir( | |||
| 3020 | * for a log reservation. Since we'll have to wait for the | 3020 | * for a log reservation. Since we'll have to wait for the |
| 3021 | * inactive code to complete before returning from xfs_iget, | 3021 | * inactive code to complete before returning from xfs_iget, |
| 3022 | * we need to make sure that we don't have log space reserved | 3022 | * we need to make sure that we don't have log space reserved |
| 3023 | * when we call xfs_iget. Instead we get an unlocked referece | 3023 | * when we call xfs_iget. Instead we get an unlocked reference |
| 3024 | * to the inode before getting our log reservation. | 3024 | * to the inode before getting our log reservation. |
| 3025 | */ | 3025 | */ |
| 3026 | error = xfs_get_dir_entry(dentry, &cdp); | 3026 | error = xfs_get_dir_entry(dentry, &cdp); |
