commit | 4cdeed861b5f797b3fa661eb331a6bd6ad669c6a | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Fri Feb 22 06:17:31 2008 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Feb 22 06:17:31 2008 -0500 |
tree | 6ef2159a06974e28bdff4426525ecdd052d7b57f | |
parent | b73fce69ecb091a178ef9286027c370a63eb25aa [diff] |
ext4: Don't leave behind a half-created inode if ext4_mkdir() fails If ext4_mkdir() fails to allocate the initial block for the directory, don't leave behind a half-created directory inode with the link count left at one. This was caused by an inappropriate call to ext4_dec_count(). Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>