upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git] / fs / xfs / xfs_inode.c
index 5f661e2..ef4824e 100644 (file)
@@ -1167,7 +1167,8 @@ xfs_ialloc(
         * This is because we're setting fields here we need
         * to prevent others from looking at until we're done.
         */
-       error = xfs_trans_iget(tp->t_mountp, tp, ino, XFS_ILOCK_EXCL, &ip);
+       error = xfs_trans_iget(tp->t_mountp, tp, ino,
+                       IGET_CREATE, XFS_ILOCK_EXCL, &ip);
        if (error != 0) {
                return error;
        }