Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fs: replace broken dev_protect with protect_file function | Sascha Hauer | 2009-10-02 | 1 | -0/+15 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | devfs: fix return value for lseek in partitions | Sascha Hauer | 2009-09-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | devfs: add open counter | Sascha Hauer | 2009-09-11 | 1 | -7/+29 |
| | | | | | | | Add an open counter for device files so that we cannot accidently remove an opened device. This happened with bb devices. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | fs: write: fix writing on devices | Sascha Hauer | 2009-07-30 | 1 | -3/+9 |
| | | | | | | | | We can't truncate device files. Make sure that if we want to write beyond the device that the bytes that still fit into the device get written. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | reactivate cramfs | Sascha Hauer | 2009-07-21 | 1 | -80/+91 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | get rid of device ids | Sascha Hauer | 2009-07-21 | 2 | -18/+33 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | make sure ramfs/devfs are initialised when needed | Sascha Hauer | 2009-07-21 | 2 | -2/+2 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | Get rid of DEVICE_TYPE_FS usage | Sascha Hauer | 2009-07-21 | 4 | -16/+20 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | devfs: add missing remove function | Sascha Hauer | 2009-07-21 | 1 | -0/+5 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | ramfs: add missing remove function | Sascha Hauer | 2009-07-21 | 1 | -0/+6 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | introduce cdev | Sascha Hauer | 2009-07-21 | 2 | -58/+199 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | remove warning | fredo | 2008-12-18 | 1 | -1/+1 |
| | | | | | Signed-off-by: Frederic RODO <fred.rodo@gmail.com> | ||||
* | fs: fix compiler warning | Sascha Hauer | 2008-08-26 | 1 | -1/+1 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | implement memmap for mem driver | Sascha Hauer | 2008-08-14 | 1 | -1/+8 |
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | lseek: return -1 for errors and check for that return value | Sascha Hauer | 2008-08-01 | 2 | -6/+8 |
| | | | | | | We cannot check for < 0 in lseek, otherwise we get problems with files > 0x7fffffff Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | [fs]: set errno correctly for ioctl() | Sascha Hauer | 2008-06-25 | 1 | -3/+4 |
| | |||||
* | - introduce ioctl call | Sascha Hauer | 2008-06-06 | 4 | -10/+74 |
| | | | | - pass open/close/lseek through to drivers | ||||
* | This is Kconfig cleanup patch (not all configurations will use CFI, SPI, ↵ | Menon, Nishanth | 2008-05-12 | 2 | -2/+12 |
| | | | | | | | RAMFS and DEVFS). * Enable CFI and SPI drivers menuconfig option to be able to disable them in menuconfig. * Introduce capability to disable ramfs and devfs. | ||||
* | add missing null pointer check in unlink() | Sascha Hauer | 2008-03-01 | 1 | -0/+5 |
| | |||||
* | [general] Fixed crash in fs.h, when called with fsdrv.create == NULL | Carsten Schlote | 2008-02-19 | 1 | -2/+5 |
| | | | | | | | | | | When a nor0 devices has no partitions assigned, then a call to open() to create a file will jump with a NULL fct ptr. Much more cheching code is missing and pointers to function are jumped without any NULL ptr check. This must be fixed as well later. Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de> | ||||
* | [sparse] declare functions static, use NULL as NULL pointer | Marc Kleine-Budde | 2007-11-29 | 1 | -5/+5 |
| | | | | | | | | | | | this fixes: fs/fs.c:210:6: warning: symbol 'files' was not declared. Should it be static? fs/fs.c:212:6: warning: symbol 'get_file' was not declared. Should it be static? fs/fs.c:227:6: warning: symbol 'put_file' was not declared. Should it be static? fs/fs.c:248:5: warning: symbol 'dir_is_empty' was not declared. Should it be static? fs/fs.c:613:41: warning: Using plain integer as NULL pointer Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> | ||||
* | - Implement tree structure for devices | sascha | 2007-10-19 | 1 | -9/+30 |
| | | | | | | | - Use device tree structure to implement partitions - Let devinfo print a nice tree - Introduce 'fixed' partitions which are not removable - Fix mount: It was not possible to mount on a relative path. | ||||
* | use S_ISDIR macro in open() | sascha | 2007-10-16 | 1 | -1/+1 |
| | |||||
* | Use Linux kernel list for drivers and devices instead of handmade | Sascha Hauer | 2007-10-11 | 1 | -8/+12 |
| | | | | list. | ||||
* | export symbols | Sascha Hauer | 2007-10-07 | 1 | -0/+2 |
| | |||||
* | change files and dirs to rwxrwxrwx | Sascha Hauer | 2007-10-04 | 2 | -2/+3 |
| | |||||
* | export functions | Sascha Hauer | 2007-10-04 | 1 | -0/+26 |
| | |||||
* | change files and directories to 0777 | Sascha Hauer | 2007-10-03 | 1 | -7/+7 |
| | |||||
* | remove debug printf, replace with debug | Sascha Hauer | 2007-10-03 | 1 | -23/+19 |
| | |||||
* | declare lots of functions static | Sascha Hauer | 2007-09-28 | 3 | -27/+27 |
| | |||||
* | pass file size from read_file | Sascha Hauer | 2007-09-27 | 1 | -1/+5 |
| | |||||
* | fix bug in ramfs when creating files whose parents do not exist | Sascha Hauer | 2007-09-27 | 1 | -2/+5 |
| | |||||
* | handle NULL Pointers in readdir/closedir properly | Sascha Hauer | 2007-09-25 | 1 | -0/+8 |
| | |||||
* | - change function declarations for better standard conformity: | Sascha Hauer | 2007-09-24 | 1 | -4/+4 |
| | | | | | | | int open(const char *pathname, int flags); -> int open(const char *pathname, int flags, ...); int mkdir(const char *pathname); -> int mkdir(const char *pathname, mode_t mode); | ||||
* | remove unused includes | Sascha Hauer | 2007-09-21 | 1 | -2/+0 |
| | |||||
* | remove uncompilable filesystems | Sascha Hauer | 2007-09-21 | 31 | -9701/+0 |
| | |||||
* | implement flash protection | Sascha Hauer | 2007-07-16 | 2 | -0/+29 |
| | |||||
* | implement memmap(). | Sascha Hauer | 2007-07-15 | 2 | -0/+27 |
| | | | | | | With this function we can get a pointer to directly memory mapped devices like nor flash or RAM. Useful for bootm where we save one memcopy when the image is mappable | ||||
* | implement truncate for devfs | Sascha Hauer | 2007-07-05 | 1 | -0/+8 |
| | |||||
* | svn_rev_706 | Sascha Hauer | 2007-07-05 | 3 | -0/+66 |
| | | | | add file headers | ||||
* | svn_rev_653 | Sascha Hauer | 2007-07-05 | 1 | -1/+53 |
| | | | | restructure tree, add reginfo command | ||||
* | svn_rev_633 | Sascha Hauer | 2007-07-05 | 1 | -18/+23 |
| | | | | add some comments, minor cleanups | ||||
* | svn_rev_605 | Sascha Hauer | 2007-07-05 | 1 | -1/+29 |
| | | | | make read_file global | ||||
* | svn_rev_566 | Sascha Hauer | 2007-07-05 | 1 | -2/+2 |
| | | | | fs support is not optional | ||||
* | svn_rev_544 | Sascha Hauer | 2007-07-05 | 1 | -2/+2 |
| | | | | make fs menuconfig | ||||
* | svn_rev_465 | Sascha Hauer | 2007-07-05 | 2 | -8/+5 |
| | | | | make fs support mandatory | ||||
* | svn_rev_452 | Sascha Hauer | 2007-07-05 | 1 | -1/+18 |
| | | | | add erase function | ||||
* | svn_rev_448 | Sascha Hauer | 2007-07-05 | 1 | -0/+8 |
| | | | | add erase | ||||
* | svn_rev_438 | Sascha Hauer | 2007-07-05 | 1 | -1/+1 |
| | |||||
* | svn_rev_437 | Sascha Hauer | 2007-07-05 | 1 | -2/+4 |
| | | | | use dev_read/dev_write |