diff options
author | Jan Kara <jack@suse.cz> | 2012-12-20 00:07:18 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-12-20 00:07:18 -0500 |
commit | 261cb20cb2f0737a247aaf08dff7eb065e3e5b66 (patch) | |
tree | 0205a427601caf513c17aa22a8991ccedf1c95c8 /fs/jbd2/checkpoint.c | |
parent | c36575e663e302dbaa4d16b9c72d2c9a913a9aef (diff) |
ext4: check dioread_nolock on remount
Currently we allow enabling dioread_nolock mount option on remount for
filesystems where blocksize < PAGE_CACHE_SIZE. This isn't really
supported so fix the bug by moving the check for blocksize !=
PAGE_CACHE_SIZE into parse_options(). Change the original PAGE_SIZE to
PAGE_CACHE_SIZE along the way because that's what we are really
interested in.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/jbd2/checkpoint.c')
0 files changed, 0 insertions, 0 deletions