diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-03-28 08:30:38 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-04-05 01:19:42 -0400 |
commit | fe3f566cd19bb6d787c92b2e202c85f929abf3ac (patch) | |
tree | 216c33bb0ed94e7791141939ea763620576d82b0 /fs/nfsd | |
parent | 200da64e0b039f873f0f20481e6a7d056e7cc6c9 (diff) |
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/nfsd')
0 files changed, 0 insertions, 0 deletions