]> git.karo-electronics.de Git - karo-tx-linux.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)
commitb1725167c38ab70d8c77cb3488742165b8354881
tree15cc4e1d9085c75e06072fa9ddf060f28a6e9520
parent52f3f5f5cbb27a3cf8a9d698625eded41ffa40f6
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