summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ordered-data.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2016-12-13 12:15:19 -0800
committerDavid Sterba <dsterba@suse.com>2017-02-14 15:50:58 +0100
commit5416034f7acf9ead993198dcfb1df7e0b0b8436a (patch)
treec7470b0cf3a82edbd540821125c5f6d5e7524e8e /fs/btrfs/ordered-data.c
parent19fd2df5b1167eeb6ae8912cdfe9532e3b2c8bbe (diff)
downloadlinux-5416034f7acf9ead993198dcfb1df7e0b0b8436a.tar.gz
linux-5416034f7acf9ead993198dcfb1df7e0b0b8436a.tar.bz2
linux-5416034f7acf9ead993198dcfb1df7e0b0b8436a.zip
Btrfs: fix comment in btrfs_page_mkwrite
The comment about "page_mkwrite gets called every time the page is dirtied" in btrfs_page_mkwrite is not correct, it only gets called the first time the page gets dirtied after the page faults in. However, we don't need to touch the code because it works well, although the proper logic is to check if delalloc bits has been set and if so, go free reserved space, if not, set the delalloc bits for dirty page range. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ordered-data.c')
0 files changed, 0 insertions, 0 deletions