diff options
author | Eric Sandeen <sandeen@redhat.com> | 2009-08-18 00:20:23 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-08-18 00:20:23 -0400 |
commit | a13fb1a4533f26c1e2b0204d5283b696689645af (patch) | |
tree | 1f779dfe2057bef2a5985989f2a347ed32ca9179 /fs/ext4/migrate.c | |
parent | 38877f4e8dbbec12c6fde85ee1fce1dc27ef3290 (diff) | |
download | op-kernel-dev-a13fb1a4533f26c1e2b0204d5283b696689645af.zip op-kernel-dev-a13fb1a4533f26c1e2b0204d5283b696689645af.tar.gz |
ext4: Add feature set check helper for mount & remount paths
A user reported that although his root ext4 filesystem was mounting
fine, other filesystems would not mount, with the:
"Filesystem with huge files cannot be mounted RDWR without CONFIG_LBDAF"
error on his 32-bit box built without CONFIG_LBDAF. This is because
the test at mount time for this situation was not being re-checked
on remount, and the normal boot process makes an ro->rw transition,
so this was being missed.
Refactor to make a common helper function to test the filesystem
features against the type of mount request (RO vs. RW) so that we
stay consistent.
Addresses Red-Hat-Bugzilla: #517650
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/migrate.c')
0 files changed, 0 insertions, 0 deletions