diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-27 23:20:03 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-27 23:20:03 +0000 |
commit | 89eba5eb77bbf92ffed6686c951cc35f4027e71f (patch) | |
tree | b56887b1753ca2573002bc7f60e5f3e47c33b116 /fs/ext2 | |
parent | f7ff3f5a67747c7714c3db772d05965a0c033705 (diff) |
Merge with Linux 2.4.0-test5-pre5.
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/inode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 5792d7b95..70e806b02 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c @@ -259,10 +259,9 @@ repeat: ext2_debug ("goal = %d.\n", goal); tmp = ext2_alloc_block (inode, goal, err); - if (!tmp) { - *err = -ENOSPC; + if (!tmp) return NULL; - } + if (metadata) { result = getblk (inode->i_dev, tmp, blocksize); if (!buffer_uptodate(result)) |