summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ulist.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-06-27 18:51:00 +0800
committerJosef Bacik <jbacik@fusionio.com>2013-07-02 11:50:58 -0400
commitedd1400be9f983f521c7397740d810fa210ee52f (patch)
tree519d72227701fbb03c368aca6bf75a850841483c /fs/btrfs/ulist.c
parent826aa0a82c5b9d2c8016c02b552e8f82f5b1e660 (diff)
downloadop-kernel-dev-edd1400be9f983f521c7397740d810fa210ee52f.zip
op-kernel-dev-edd1400be9f983f521c7397740d810fa210ee52f.tar.gz
Btrfs: fix several potential problems in copy_nocow_pages_for_inode
- It makes no sense that we deal with a inode in the dead tree. - fix the race between dio and page copy by waiting the dio completion - avoid the page copy vs truncate/punch hole - check if the page is in the page cache or not Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/ulist.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud