aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_leaf.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:59:33 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:59:33 -0400
commit60c9b2746f589b0b809582b0471cf30ad3ae439f (patch)
treedeb0169acb7f7b5b5ef721650de1e0c6f139823c /fs/xfs/xfs_dir2_leaf.c
parent4750def52cb2c21732dda9aa1d43a07db37b0186 (diff)
parentf7c66ce3f70d8417de0cfb481ca4e5430382ec5d (diff)
Merge git://oss.sgi.com:8090/xfs/xfs-2.6
* git://oss.sgi.com:8090/xfs/xfs-2.6: [XFS] Add lockdep support for XFS [XFS] Fix race in xfs_write() b/w dmapi callout and direct I/O checks. [XFS] Get rid of redundant "required" in msg. [XFS] Export via a function xfs_buftarg_list for use by kdb/xfsidbg. [XFS] Remove unused ilen variable and references. [XFS] Fix to prevent the notorious 'NULL files' problem after a crash. [XFS] Fix race condition in xfs_write(). [XFS] Fix uquota and oquota enforcement problems. [XFS] propogate return codes from flush routines [XFS] Fix quotaon syscall failures for group enforcement requests. [XFS] Invalidate quotacheck when mounting without a quota type. [XFS] reducing the number of random number functions. [XFS] remove more misc. unused args [XFS] the "aendp" arg to xfs_dir2_data_freescan is always NULL, remove it. [XFS] The last argument "lsn" of xfs_trans_commit() is always called with
Diffstat (limited to 'fs/xfs/xfs_dir2_leaf.c')
-rw-r--r--fs/xfs/xfs_dir2_leaf.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xfs/xfs_dir2_leaf.c b/fs/xfs/xfs_dir2_leaf.c
index b1cf1fbf423d..db14ea71459f 100644
--- a/fs/xfs/xfs_dir2_leaf.c
+++ b/fs/xfs/xfs_dir2_leaf.c
@@ -133,8 +133,7 @@ xfs_dir2_block_to_leaf(
133 */ 133 */
134 block->hdr.magic = cpu_to_be32(XFS_DIR2_DATA_MAGIC); 134 block->hdr.magic = cpu_to_be32(XFS_DIR2_DATA_MAGIC);
135 if (needscan) 135 if (needscan)
136 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog, 136 xfs_dir2_data_freescan(mp, (xfs_dir2_data_t *)block, &needlog);
137 NULL);
138 /* 137 /*
139 * Set up leaf tail and bests table. 138 * Set up leaf tail and bests table.
140 */ 139 */
@@ -414,7 +413,7 @@ xfs_dir2_leaf_addname(
414 * Need to scan fix up the bestfree table. 413 * Need to scan fix up the bestfree table.
415 */ 414 */
416 if (needscan) 415 if (needscan)
417 xfs_dir2_data_freescan(mp, data, &needlog, NULL); 416 xfs_dir2_data_freescan(mp, data, &needlog);
418 /* 417 /*
419 * Need to log the data block's header. 418 * Need to log the data block's header.
420 */ 419 */
@@ -1496,7 +1495,7 @@ xfs_dir2_leaf_removename(
1496 * log the data block header if necessary. 1495 * log the data block header if necessary.
1497 */ 1496 */
1498 if (needscan) 1497 if (needscan)
1499 xfs_dir2_data_freescan(mp, data, &needlog, NULL); 1498 xfs_dir2_data_freescan(mp, data, &needlog);
1500 if (needlog) 1499 if (needlog)
1501 xfs_dir2_data_log_header(tp, dbp); 1500 xfs_dir2_data_log_header(tp, dbp);
1502 /* 1501 /*