summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--fs/f2fs/data.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 027341cacd2b..f458883af815 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -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);