diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-08-04 10:10:28 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-08-06 09:00:35 -0400 |
commit | df273efc36024a9ea97fd687d638a70c3ea8c37a (patch) | |
tree | 131496bea8990ea0b9d3bf91150c8b9070ef5874 /fs/f2fs/data.c | |
parent | d2dc095f4280ad5fdea33769e8e119fd16648426 (diff) |
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 <namjae.jeon@samsung.com>
Signed-off-by: Pankaj Kumar <pankaj.km@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 3 |
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, | |||
634 | int err = 0; | 634 | int err = 0; |
635 | int ilock; | 635 | int ilock; |
636 | 636 | ||
637 | /* for nobh_write_end */ | ||
638 | *fsdata = NULL; | ||
639 | |||
640 | f2fs_balance_fs(sbi); | 637 | f2fs_balance_fs(sbi); |
641 | repeat: | 638 | repeat: |
642 | page = grab_cache_page_write_begin(mapping, index, flags); | 639 | page = grab_cache_page_write_begin(mapping, index, flags); |