From: Christoph Hellwig Date: Fri, 1 Oct 2010 07:12:08 +0000 (+0200) Subject: hfsplus: fix rename over directories X-Git-Tag: v2.6.37-rc1~222^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40de9a7cebc4e0b23cd6863c84c2279f0ccadebb;p=pandora-kernel.git hfsplus: fix rename over directories When renaming over a directory we need to use hfsplus_rmdir instead of hfsplus_unlink to evict the victim. This makes sure we properly error out on non-empty directory as required by Posix (BZ #16571), and it also makes sure we do the right thing in case i_nlink will every be set correctly for directories on hfsplus. Reported-by: Vlado Plaga Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed