diff options
author | Alan Cox <alan@redhat.com> | 2009-01-11 19:52:19 +0000 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-01-11 19:56:46 +0000 |
commit | 5f877607cdfe8b60bf96fb96e527e0ce2a21e68b (patch) | |
tree | 5e13766a4d7df3e7032b1b26e498099c04b06c16 /mm/swapfile.c | |
parent | 57c1a24ee276a33190008243f986419e122c0dea (diff) |
[MTD] map_rom has NULL erase pointer
Which means if inftl or similar are loaded with it (which is a dumb thing
to do admittedly) it may oops.
Closes #8108
[dwmw2: change error to -EROFS to match write-protected flash]
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions