diff options
| author | Liu Bo <[email protected]> | 2012-06-14 08:23:18 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2012-06-15 15:33:30 +0000 |
| commit | bc1782374b128103ae9689e0753e0610f35b6bfd (patch) | |
| tree | 876bb3e67c5163b238418493e44e1e865c8c85be /fs/jbd2/commit.c | |
| parent | Merge branch 'for-chris' of git://git.jan-o-sch.net/btrfs-unstable into for-l... (diff) | |
| download | kernel-bc1782374b128103ae9689e0753e0610f35b6bfd.tar.gz kernel-bc1782374b128103ae9689e0753e0610f35b6bfd.zip | |
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 <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
