]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove extent status procfs files if journal load fails
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 30 Oct 2014 14:53:16 +0000 (10:53 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 30 Oct 2014 14:53:16 +0000 (10:53 -0400)
commitc738e8fd3a17d1a9d1c0c61e7f57bdc3e8a29381
tree84e2952e55872afff28c10451eed7f93d904f62c
parentf09e7e4739af6ace03863b055b74f65ae7dfbb81
ext4: remove extent status procfs files if journal load fails

If we can't load the journal, remove the procfs files for the extent
status information file to avoid leaking resources.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/super.c