__sb_end_write is an internal function, use sb_end_write instead of __sb_end_write. Signed-off-by: Fengnan Chang <changfengnan@xxxxxxxx> --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index fd47deea7c17..6b2e6f9035a5 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2784,7 +2784,7 @@ static inline void file_end_write(struct file *file) { if (!S_ISREG(file_inode(file)->i_mode)) return; - __sb_end_write(file_inode(file)->i_sb, SB_FREEZE_WRITE); + sb_end_write(file_inode(file)->i_sb); } /* -- 2.29.0