commit | 266f5aa0970409bf1ebdf9fc4e65a1186eeed3c2 | [log] [tgz] |
---|---|---|
author | Carsten Otte <cotte@de.ibm.com> | Sat Jun 23 17:16:46 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Sun Jun 24 08:59:12 2007 -0700 |
tree | 5c0ba331d323ddd3b2090631dc6a852a498257de | |
parent | 4f84e4be53a04a65d97bf0faa0c8f99e29bc0170 [diff] |
ext2: disallow setting xip on remount Yan Zheng pointed out that ext2_remount lacks checking if -o xip should be enabled or not. This patch checks for presence of direct_access on the backing block device and if the blocksize meets the requirements. Signed-off-by: Carsten Otte <cotte@de.ibm.com> Cc: Yan Zheng <yanzheng@21cn.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>