fs: use sb_end_write instend of __sb_end_write
PATCH 1/1 fs: use sb_end_write instend of __sb_end_write
__sb_end_write is an internal function, use sb_end_write instead of __sb_end_write.
Signed-off-by Fengnan Chang <[email protected]>
--- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/fs.h +1 -1
@@ -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); }/*
Signature · 1 line
2.29.0
Quoted 3 lines · Fengnan Chang
__sb_end_writeis an internal function, usesb_end_writeinstead of__sb_end_write.Signed-off-by Fengnan Chang <[email protected]>
Makes sense. You can add:
Reviewed-by Jan Kara <[email protected]>
Honza
Quoted 20 lines
--- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/fs.h +1
-1@@ -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); }/* Signature · 1 line
2.29.0
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR