f2fs: remove unneeded initialization of nr_dirty in dirty_seglist_info
authorNamjae Jeon <namjae.jeon@samsung.com>
Sat, 22 Dec 2012 03:09:58 +0000 (12:09 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 28 Dec 2012 02:27:05 +0000 (11:27 +0900)
commit344324f10fad05e40b1047c5e09ebbc77e43c24f
treee5ea654ddb10af7aa22c734c317ac844ec0ffdb2
parent06025f4df88e9e41f4ebcf6b4c3df30661332bc9
f2fs: remove unneeded initialization of nr_dirty in dirty_seglist_info

Since, the memory for the object of dirty_seglist_info is allocated
using kzalloc - which returns zeroed out memory. So, there is no need
to initialize the nr_dirty values with zeroes.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/segment.c