]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix the debugfs entry creation path
authorNamjae Jeon <linkinjeon@gmail.com>
Tue, 15 Jan 2013 10:58:47 +0000 (19:58 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 15 Jan 2013 11:19:15 +0000 (20:19 +0900)
commit4198f0ab57f4c3a3e4075dc7490e8f690bc7f8ed
treef91c18c0285d980938b8bbac7d8c7e7ed5863421
parentbf29c73a29c8f025946394efecda96d07d0d8d11
f2fs: fix the debugfs entry creation path

As the "status" debugfs entry will be maintained for entire F2FS filesystem
irrespective of the number of partitions.
So, we can move the initialization to the init part of the f2fs and destroy will
be done from exit part. After making changes, for individual partition mount -
entry creation code will not be executed.

Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
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/debug.c
fs/f2fs/f2fs.h
fs/f2fs/super.c