mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
f2fs: remove redundant code from f2fs_write_begin
This code is being used for nobh_write_end() function. But since now f2fs_write_end function is added so there is no need for this code. Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Pankaj Kumar <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
This commit is contained in:
parent
d2dc095f42
commit
df273efc36
1 changed files with 0 additions and 3 deletions
|
|
@ -634,9 +634,6 @@ static int f2fs_write_begin(struct file *file, struct address_space *mapping,
|
|||
int err = 0;
|
||||
int ilock;
|
||||
|
||||
/* for nobh_write_end */
|
||||
*fsdata = NULL;
|
||||
|
||||
f2fs_balance_fs(sbi);
|
||||
repeat:
|
||||
page = grab_cache_page_write_begin(mapping, index, flags);
|
||||
|
|
|
|||
Loading…
Reference in a new issue