xfs: return is not a function
[linux-2.6-block.git] / fs / xfs / xfs_trans.c
index d03932564ccb3a3e75efc3e39b3991ba6f27d8c9..e15fe67baa7ba9cbb69ffb0699025c480b623e49 100644 (file)
@@ -190,7 +190,7 @@ xfs_trans_reserve(
                                          -((int64_t)blocks), rsvd);
                if (error != 0) {
                        current_restore_flags_nested(&tp->t_pflags, PF_FSTRANS);
-                       return (XFS_ERROR(ENOSPC));
+                       return XFS_ERROR(ENOSPC);
                }
                tp->t_blk_res += blocks;
        }
@@ -1024,7 +1024,7 @@ xfs_trans_roll(
         */
        error = xfs_trans_commit(trans, 0);
        if (error)
-               return (error);
+               return error;
 
        trans = *tpp;