]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: don't clear orphan list on ro mount with errors
authorEric Sandeen <sandeen@redhat.com>
Thu, 27 Sep 2012 03:30:12 +0000 (23:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 27 Sep 2012 03:30:12 +0000 (23:30 -0400)
commit5870b657a9efe121bc4b1752bc3fb5a27357b9e7
tree35b45f146ece8fdd2deb6a62739f685e74bf18ab
parent2b6ab2c6e4a6f736c4fc7a9d76f43d80a6e6742e
ext4: don't clear orphan list on ro mount with errors

If the file system contains errors and it is being mounted read-only,
don't clear the orphan list.  We should minimize changes to the file
system if it is mounted read-only.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c