From: Liu Bo Date: Thu, 14 Jun 2012 08:23:18 +0000 (-0600) Subject: Btrfs: fix missing inherited flag in rename X-Git-Tag: v3.5-rc3~18^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc1782374b128103ae9689e0753e0610f35b6bfd;p=pandora-kernel.git Btrfs: fix missing inherited flag in rename When we move a file into a directory with compression flag, we need to inherite BTRFS_INODE_COMPRESS and clear BTRFS_INODE_NOCOMPRESS as well. But if we move a file into a directory without compression flag, we need to clear both of them. It is the way how our setflags deals with compression flag, so keep the same behaviour here. Signed-off-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed