diff options
author | Carsten Otte <cotte@de.ibm.com> | 2007-06-23 20:16:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-24 11:59:12 -0400 |
commit | 266f5aa0970409bf1ebdf9fc4e65a1186eeed3c2 (patch) | |
tree | 5c0ba331d323ddd3b2090631dc6a852a498257de /kernel/power/user.c | |
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>
Diffstat (limited to 'kernel/power/user.c')
0 files changed, 0 insertions, 0 deletions