summaryrefslogtreecommitdiffstats
path: root/crypto/compress.c
diff options
context:
space:
mode:
authorLiu Bo <liubo2009@cn.fujitsu.com>2012-03-29 09:57:44 -0400
committerChris Mason <chris.mason@oracle.com>2012-03-29 09:57:44 -0400
commit1f12bd063285b059cb63315d1424dae1ddd87a64 (patch)
treed0c9c7be653b3306f9cfb76ba9805f36c9295e37 /crypto/compress.c
parentecb8bea87d05fd2d1fc0718e1e4bbf09c7c6045a (diff)
downloadblackbird-op-linux-1f12bd063285b059cb63315d1424dae1ddd87a64.tar.gz
blackbird-op-linux-1f12bd063285b059cb63315d1424dae1ddd87a64.zip
Btrfs: fix the mismatch of page->mapping
commit 600a45e1d5e376f679ff9ecc4ce9452710a6d27c (Btrfs: fix deadlock on page lock when doing auto-defragment) fixes the deadlock on page, but it also introduces another bug. A page may have been truncated after unlock & lock. So we need to find it again to get the right one. And since we've held i_mutex lock, inode size remains unchanged and we can drop isize overflow checks. Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'crypto/compress.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud