diff options
author | 2018-05-11 13:13:29 -0700 | |
---|---|---|
committer | 2018-05-28 18:23:43 +0200 | |
commit | d1342aadbd9fcc82fd6e24c7f0443a43fe4714c7 (patch) | |
tree | 0d517562b964ff877bcfacf6aa74e6fabb7bf1b4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: Remove stale comment about select_delayed_ref (diff) | |
download | linux-dev-d1342aadbd9fcc82fd6e24c7f0443a43fe4714c7.tar.xz linux-dev-d1342aadbd9fcc82fd6e24c7f0443a43fe4714c7.zip |
Btrfs: update stale comments referencing vmtruncate()
Commit a41ad394a03b ("Btrfs: convert to the new truncate sequence")
changed btrfs_setsize() to call truncate_setsize() instead of
vmtruncate() but didn't update the comment above it. truncate_setsize()
never fails (the IS_SWAPFILE() check happens elsewhere), so remove the
comment.
Additionally, the comment above btrfs_page_mkwrite() references
vmtruncate(), but truncate_setsize() does the size write and page
locking now.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions