diff options
author | Jan Kara <jack@suse.cz> | 2012-12-20 00:07:18 -0500 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-01-16 01:13:11 +0000 |
commit | f21cf73c565eaff16be12637435dd96b84a8e50f (patch) | |
tree | 62af23e1bd4e1ab56638dc237149e6a4b5983a03 /fs/binfmt_em86.c | |
parent | 29abfe4ddc74a2a597f4a47f02df1f5c4ad4a521 (diff) | |
download | lwn-f21cf73c565eaff16be12637435dd96b84a8e50f.tar.gz lwn-f21cf73c565eaff16be12637435dd96b84a8e50f.zip |
ext4: check dioread_nolock on remount
commit 261cb20cb2f0737a247aaf08dff7eb065e3e5b66 upstream.
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/binfmt_em86.c')
0 files changed, 0 insertions, 0 deletions