commit | bc1782374b128103ae9689e0753e0610f35b6bfd | [log] [tgz] |
---|---|---|
author | Liu Bo <liubo2009@cn.fujitsu.com> | Thu Jun 14 02:23:18 2012 -0600 |
committer | Chris Mason <chris.mason@oracle.com> | Fri Jun 15 11:33:30 2012 -0400 |
tree | 876bb3e67c5163b238418493e44e1e865c8c85be | |
parent | acbcabd2de05f331c51700773f701e90bd7f74dc [diff] |
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 <liubo2009@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>