diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2016-12-13 12:15:19 -0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-14 15:50:58 +0100 |
commit | 5416034f7acf9ead993198dcfb1df7e0b0b8436a (patch) | |
tree | c7470b0cf3a82edbd540821125c5f6d5e7524e8e /fs/btrfs/ordered-data.c | |
parent | 19fd2df5b1167eeb6ae8912cdfe9532e3b2c8bbe (diff) | |
download | linux-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