summaryrefslogtreecommitdiffstats
path: root/fs/bfs
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2011-03-28 08:30:38 +0000
committerChris Mason <chris.mason@oracle.com>2011-04-05 01:19:42 -0400
commitfe3f566cd19bb6d787c92b2e202c85f929abf3ac (patch)
tree216c33bb0ed94e7791141939ea763620576d82b0 /fs/bfs
parent200da64e0b039f873f0f20481e6a7d056e7cc6c9 (diff)
downloadlinux-fe3f566cd19bb6d787c92b2e202c85f929abf3ac.tar.gz
linux-fe3f566cd19bb6d787c92b2e202c85f929abf3ac.tar.bz2
linux-fe3f566cd19bb6d787c92b2e202c85f929abf3ac.zip
Btrfs: Fix oops for defrag with compression turned on
When we defrag a file, whose size can be fit into an inline extent, with compression enabled, the compress type is set to be fs_info->compress_type, which is 0 if the btrfs filesystem is mounted without compress option. This leads to oops. Reported-by: Daniel Blueman <daniel.blueman@gmail.com> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/bfs')
0 files changed, 0 insertions, 0 deletions