diff options
author | Harshad Shirwadkar <harshadshirwadkar@gmail.com> | 2020-11-05 19:58:52 -0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-11-06 23:01:02 -0500 |
commit | 5b552ad70c6197e764ffe6070089c5b355fe2d26 (patch) | |
tree | f9ea129b768abe037648caff5eed1d032aab6412 /fs/ext4/inode-test.c | |
parent | b21ebf143af219207214c79bc217beb39c43212a (diff) | |
download | linux-5b552ad70c6197e764ffe6070089c5b355fe2d26.tar.gz linux-5b552ad70c6197e764ffe6070089c5b355fe2d26.tar.bz2 linux-5b552ad70c6197e764ffe6070089c5b355fe2d26.zip |
ext4: drop redundant calls ext4_fc_track_range
ext4_fc_track_range() should only be called when blocks are added or
removed from an inode. So, the only places from where we need to call
this function are ext4_map_blocks(), punch hole, collapse / zero
range, truncate. Remove all the other redundant calls to ths function.
Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20201106035911.1942128-4-harshadshirwadkar@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode-test.c')
0 files changed, 0 insertions, 0 deletions