- 27 Nov, 2004 6 commits
-
-
David Woodhouse authored
Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Spotted by Shannon Holland. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Only this time, set the field we were dereferencing _after_ we zero it not before. Signed-off-by: Kalev Lember <kalev@colleduc.ee> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
o Add simple usage example. o Fix up unit handling (k, M. G). o Use correct size limit for setup string. o Remove pointless printk message. o Fix mtdblock to not allocate a read-modify-write buffer for CAP_RAM devices (and fail to do so, returning an error). Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
The redboot partitioning code currently searches for a FIS table entry named "RedBoot" (including the trailing \0) in one of the first three entries to try and verify that the sector it is looking at really is a FIS partition table. Firstly it fails when RedBoot is stored in some other Flash chip such as a boot PROM, in this case there is no "RedBoot" entry in the partition table. However there will always be a "FIS directory" entry in any valid FIS directory. Secondly it can fail since the RedBoot entry is not always in the first 3 slots -- this can happen for example on an x86 based platform where the processor expects the boot device to be at the top of memory rather than the bottom and so RedBoot is at the end of the flash device. Equally when using "FIS directory" as the entry to search for it very likely is not in the first three since the directory is typically at the end of the flash. Signed-off-by: Ian Campbell <icampbell@arcom.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
- 20 Nov, 2004 7 commits
-
-
David Woodhouse authored
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Maximilian Attems <janitor@sternwelten.at> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
With SMP or preempt, we could attempt to read data from the wbuf while it was being updated. Introduce a new rwsem to prevent this, and update the documentation accordingly Signed-off-by: Artem Bityuckiy <dedekind@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
We weren't releasing all the temporary dirent structures we may have built up during the first part of the scan. Signed-off-by: Artem Bityuckiy <dedekind@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
If a directory entry refers to an inode which doesn't actually exist, we weren't marking it obsolete, so it was still visible in the file system, and would give EIO if you ever tried to stat it. Once upon a time, perl -e 'unlink' and rm -f would manage to unlink such things but nowadays they both try to stat it first and stupidly refuse to even attempt the unlink if the stat fails, and this is more of a problem. So we throw it away ourselves. Signed-off-by: Artem Bityuckiy <dedekind@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
New eyes are looking over ancient code and comments which were put in as the design was first coming together... and which don't make even the slightest bit of sense any more. Signed-off-by: Artem Bityuckiy <dedekind@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Thayne Harbaugh <tharbaugh@lnxi.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
- 17 Nov, 2004 2 commits
-
-
David Woodhouse authored
They were missing unlock address and command set fields. From: David Vrabel <dvrabel@arcom.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
We no longer use this, since we rewrote the mount code to behave entirely differently and not build up all the trees on mount. Signed-off-by: Artem Bityuckiy <dedekind@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
- 16 Nov, 2004 25 commits
-
-
David Woodhouse authored
The work address is increasingly unreliable and incompetently run. Time to remove all visible instances of it and rely only on one which isn't run by crack-monkeys. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Artem Bityuckiy <dedekind@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Artem Bityuckiy <dedekind@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
- Support 2048-byte HW ECC (from Juha Yrjölä <juha.yrjola@nokia.com>) - Allow board drivers to provide pattern for bad block scanning Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
This allows for MTD support to be used on flash memory which is also used for XIP purposes, either XIP kernel or XIP userspace. The whole idea is to relocate functions actually modifying the flash state away from array mode to ram and run them with interrupt disabled. When the flash needs some time to complete a certain operation, we poll the processor for pending (but still masked) interrupts, and when they occur we suspend the flash operation in order to unmask interrupts and let the system run again. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Josh Boyer <jdub@us.ibm.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
The patch below makes the following cleanups for code under drivers/mtd/ : - make some needlessly global code static Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
fs/jffs2/gc.c:832: warning: signed size_t format, different type arg (arg 3) Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
... and should include it directly rather than hoping it's been done. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
We had it already in the inocache structure we were being passed Signed-off-by: Artem Bityuckiy <dedekind@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
We weren't correctly holding a lock when adding raw nodes to the per-inode list. Signed-off-by: Artem Bityuckiy <dedekind@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Determine it from the CFI query data instead of hard-coding it. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Russell King <rmk@arm.linux.org.uk> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Deepak Saxena <dsaxena@plexity.net> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Pete Popov <ppopov@embeddedalley.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Fix kernel NULL pointer dereference at mtd_erase_callback+6 when trying to insmod INFTL or NFTL modules. Signed-off-by: Kalev Lember <kalev@colleduc.ee> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
We weren't correctly resetting our idea of the chip's state on suspend in all circumstances. Fix that. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Cleanups and fixes in preparation for XIP support -- fix unbalanced use of get_chip() and put_chip(), and clean up the code a little in preparation for what's to come. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-
David Woodhouse authored
Originally from Joe Perches <joe@perches.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-