summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/journal.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2011-02-26 22:40:19 +0200
committerJan Kara <jack@suse.cz>2011-02-28 21:55:58 +0100
commitce654b37f87980d95f339080e4c3bdb2370bdf22 (patch)
treed1f1f69bd92a0da1b77ee5748f3abe95dd832c49 /fs/jbd2/journal.c
parent03885ac3c79ab7f3f4a8e502486be2ea6c85c3e3 (diff)
downloadop-kernel-dev-ce654b37f87980d95f339080e4c3bdb2370bdf22.zip
op-kernel-dev-ce654b37f87980d95f339080e4c3bdb2370bdf22.tar.gz
ext3: skip orphan cleanup on rocompat fs
Orphan cleanup is currently executed even if the file system has some number of unknown ROCOMPAT features, which deletes inodes and frees blocks, which could be very bad for some RO_COMPAT features. This patch skips the orphan cleanup if it contains readonly compatible features not known by this ext3 implementation, which would prevent the fs from being mounted (or remounted) readwrite. Signed-off-by: Amir Goldstein <amir73il@users.sf.net> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/jbd2/journal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud