diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-03-09 20:33:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-03-09 20:33:35 +0000 |
commit | 116674acc97ba75a720329996877077d988443a2 (patch) | |
tree | 6a3f2ff0b612ae2ee8a3f3509370c9e6333a53b3 /fs/ext2/namei.c | |
parent | 71118c319fcae4a138f16e35b4f7e0a6d53ce2ca (diff) |
Merge with Linux 2.4.2.
Diffstat (limited to 'fs/ext2/namei.c')
-rw-r--r-- | fs/ext2/namei.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext2/namei.c b/fs/ext2/namei.c index 59d3ef492..2ecd748e9 100644 --- a/fs/ext2/namei.c +++ b/fs/ext2/namei.c @@ -235,6 +235,7 @@ int ext2_add_entry (struct inode * dir, const char * name, int namelen, return retval; if (dir->i_size <= offset) { if (dir->i_size == 0) { + brelse(bh); return -ENOENT; } |