From: Namjae Jeon Date: Sun, 4 Aug 2013 14:10:28 +0000 (+0900) Subject: f2fs: remove redundant code from f2fs_write_begin X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=df273efc36024a9ea97fd687d638a70c3ea8c37a;p=deliverable%2Flinux.git 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 Signed-off-by: Pankaj Kumar Signed-off-by: Jaegeuk Kim --- 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);