Messages in this thread |  | | Date | Tue, 25 Oct 2011 09:13:24 -0400 | From | Ted Ts'o <> | Subject | Re: [PATCH 1/5] ext4: ext4_dx_add_entry should dirty directory metadata with the directory inode |
| |
On Fri, Oct 21, 2011 at 02:17:59PM -0700, Darrick J. Wong wrote: > ext4_dx_add_entry manipulates bh2 and frames[0].bh, which are two buffer_heads > that point to directory blocks assigned to the directory inode. However, the > function calls ext4_handle_dirty_metadata with the inode of the file that's > being added to the directory, not the directory inode itself. Therefore, > correct the code to dirty the directory buffers with the directory inode, not > the file inode. > > Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
This has been accpeted into the ext4 tree already (git commit: 5930ea643 in the master branch)
- Ted
|  |