From: Al Viro Date: Wed, 2 Mar 2011 14:35:13 +0000 (-0500) Subject: fix reiserfs mkdir() breakage X-Git-Tag: v2.6.38-rc8~31^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99890a3be1ee67346300f1e0a873006588760f2a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed