projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
764b3fd
)
ext4: remove unnecessary fast commit calls from ext4_file_mmap
author
Harshad Shirwadkar
<harshadshirwadkar@gmail.com>
Fri, 6 Nov 2020 03:59:05 +0000
(19:59 -0800)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 7 Nov 2020 04:01:05 +0000
(23:01 -0500)
Remove unnecessary calls to ext4_fc_start_update() and
ext4_fc_stop_update() from ext4_file_mmap().
Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link:
https://lore.kernel.org/r/20201106035911.1942128-17-harshadshirwadkar@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/file.c
patch
|
blob
|
history
diff --git
a/fs/ext4/file.c
b/fs/ext4/file.c
index d85412d12e3af80c97437c944a6abd12399f8205..80ad5ccc02880a939ad8b6e82430f235bcd567fd 100644
(file)
--- a/
fs/ext4/file.c
+++ b/
fs/ext4/file.c
@@
-761,7
+761,6
@@
static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)
if (!daxdev_mapping_supported(vma, dax_dev))
return -EOPNOTSUPP;
- ext4_fc_start_update(inode);
file_accessed(file);
if (IS_DAX(file_inode(file))) {
vma->vm_ops = &ext4_dax_vm_ops;
@@
-769,7
+768,6
@@
static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)
} else {
vma->vm_ops = &ext4_file_vm_ops;
}
- ext4_fc_stop_update(inode);
return 0;
}