diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-02 14:35:13 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-03 06:28:40 (GMT) |
commit | 99890a3be1ee67346300f1e0a873006588760f2a (patch) | |
tree | a2d704543672fd5c36c95aee728cddaf2f2c26d5 /fs/udf | |
parent | babfe56046885749b6a90a3c4409219a1f16cf48 (diff) | |
download | linux-fsl-qoriq-99890a3be1ee67346300f1e0a873006588760f2a.tar.xz |
fix reiserfs mkdir() breakage
if directory has so many subdirectories that its link count is set
to 1 (i.e. "can't tell accurately") and reiserfs_new_inode() fails,
we shouldn't decrement the parent's link count in cleanup path;
that's what DEC_DIR_INODE_NLINK() is for. As it is, we end up
with parent suddenly getting zero i_nlink, with very unpleasant
effects.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/udf')
0 files changed, 0 insertions, 0 deletions