aboutsummaryrefslogtreecommitdiff
path: root/fs/bad_inode.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-02-22 06:17:31 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-02-22 06:17:31 -0500
commit4cdeed861b5f797b3fa661eb331a6bd6ad669c6a (patch)
tree6ef2159a06974e28bdff4426525ecdd052d7b57f /fs/bad_inode.c
parentb73fce69ecb091a178ef9286027c370a63eb25aa (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>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions