diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-17 17:41:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-17 17:41:19 -0700 |
commit | 77aa56ba09b7416764aec2e3f7b41e023cf30602 (patch) | |
tree | d4247c8ee6b7371e60dcadaf1540c943ed7a9801 /fs/ext3/namei.c | |
parent | 179198373cf374f0ef793f1023c1cdd83b53674d (diff) | |
parent | 0c755de03e69619c768867d89e6d827d3afa13d9 (diff) | |
download | kernel_samsung_tuna-77aa56ba09b7416764aec2e3f7b41e023cf30602.zip kernel_samsung_tuna-77aa56ba09b7416764aec2e3f7b41e023cf30602.tar.gz kernel_samsung_tuna-77aa56ba09b7416764aec2e3f7b41e023cf30602.tar.bz2 |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6:
ext3: Always set dx_node's fake_dirent explicitly.
ext3: Fix an overflow in ext3_trim_fs.
jbd: Remove one to many n's in a word.
ext3: skip orphan cleanup on rocompat fs
ext2: Fix link count corruption under heavy link+rename load
ext3: speed up group trim with the right free block count.
ext3: Adjust trim start with first_data_block.
quota: return -ENOMEM when memory allocation fails
Diffstat (limited to 'fs/ext3/namei.c')
-rw-r--r-- | fs/ext3/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c index 0521a00..32f3b86 100644 --- a/fs/ext3/namei.c +++ b/fs/ext3/namei.c @@ -1540,8 +1540,8 @@ static int ext3_dx_add_entry(handle_t *handle, struct dentry *dentry, goto cleanup; node2 = (struct dx_node *)(bh2->b_data); entries2 = node2->entries; + memset(&node2->fake, 0, sizeof(struct fake_dirent)); node2->fake.rec_len = ext3_rec_len_to_disk(sb->s_blocksize); - node2->fake.inode = 0; BUFFER_TRACE(frame->bh, "get_write_access"); err = ext3_journal_get_write_access(handle, frame->bh); if (err) |