- 25 Jul, 2002 6 commits
-
-
Patrick Mochel authored
These are tied together a bit, so they're included in the same patch Mainly, they move the taking of the inode's i_sem into the unlink and rmdir. driverfs_rmdir doesn't call driverfs_unlink anymore, as it checks if the directory is empty and conditionally does d_delete on it. fs/namei.c implements d_unhash, which is called in vfs_rmdir. This isn't exported (yet), so reimplement it here (at least until it's known that it's not needed or it's exported).
-
Patrick Mochel authored
Add check for existence of dentry in driverfs_symlink and driverfs_mknod (which the other creation functions use).
-
Patrick Mochel authored
Call driverfs_mkdir directly, instead of going through vfs.
-
Patrick Mochel authored
This is the first of a series of patches to driverfs to _not_ use the vfs layer for file creation and deletion. The VFS layer is allowing files and directories to be removed from userspace, which we don't want at all. Per Al Viro's suggesting, I am pushing the necessary checks from the vfs_* functions into the driverfs functions, and calling them directly from the kernel interface to driverfs. This is the first, for file creation
-
Patrick Mochel authored
-
Patrick Mochel authored
- in mkdir: we already hold parent directory's semaphore (c.f. driverfs_create_dir) - in create: ditto (c.f. driverfs_create_file) - in unlink: ditto (c.f. driverfs_remove_file) and file's i_sem is taken in vfs_unlink - un lseek: take inode's i_sem (though I think we can replace this with a common lseek function...later)
-
- 24 Jul, 2002 34 commits
-
-
Neil Brown authored
Inexplicably, xor.c enabled interrupts... thanks to akmp
-
Lawrence Walton authored
Here it is my first LK patch. tested even. :)
-
Linus Torvalds authored
the global irq-lock debugging
-
Doug Ledford authored
cpqfcTSinit.c: Fix usage of Scsi_Cmnd->request so it will compile.
-
Doug Ledford authored
-
Linus Torvalds authored
-
http://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Ingo Molnar authored
- introduce new type of context-switch locking, this is a must-have for ia64 and sparc64. - load_balance() bug noticed by Scott Rhine and myself: scan the whole list to find imbalance number of tasks, not just the tail of the list. - sched_yield() fix: use current->array not rq->active.
-
bk://linuxusb.bkbits.net/pci_hp-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
http://linuxusb.bkbits.net/agpgart-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/pci_hp-2.5
-
bk://bkbits.ras.ucalgary.ca/rgooch-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Richard Gooch authored
No commit message
-
Richard Gooch authored
into atnf.csiro.au:/workaholix1/kernel/v2.5/rgooch-2.5
-
Richard Gooch authored
Switch to set_current_state() and move before add_wait_queue(). Updated README from master HTML file. Fixed devfs entry leak in <devfs_readdir> when *readdir fails.
-
John Levon authored
The patch below consolidates some duplicate code, reduces some indentation, and adds a freeing of a page in mem_read() that could be left unfreed, as far as I can see.
-
bk://bk.arm.linux.org.uk:14691Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
http://fbdev.bkbits.net/fbdev-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jens Axboe authored
make cpqarray and cciss use these
-
Neil Brown authored
Heading Rusty off at the pass... This also changes and array initialiser...
-
Neil Brown authored
get_spare recently became static and no-one told md_k.h
-
Neil Brown authored
-
Neil Brown authored
Sync_sbs tries to access the ->sb for the first rdev of an mddev. This can oops as the wrong arg is given to list_entry, and also if a define was faound to be failed, as failed devices have their ->sb removed. But that removal isn't necessary, so now an rdev will always have an ->sb.
-
Neil Brown authored
Define container_of which cast from member to struct with some type checking. This is much like list_entry but is cearly for things other than lists. List_entry now uses container_of.
-
Petko Manolov authored
new vendor/device ID; redundant check removed from probe();
-
bk://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Rusty Russell authored
The old form of designated initializers are obsolete: we need to replace them with the ISO C forms before 2.6. Gcc has always supported both forms anyway.
-
Hugh Dickins authored
Dawson Engler's Stanford Checker reported this missing unlock to LKML 11 July (amongst "56 potential lock/unlock bugs in 2.5.8").
-
Hugh Dickins authored
Found by Simon Trimmer <simon@veritas.com>: shmem_file_write failure path duplicates kunmap, causing oops holding kmap_lock.
-
Hugh Dickins authored
Trivial: vfs_link in 2.5 checks S_ISDIR first, shmem_link need not repeat it, but test crept back in at some stage.
-
Hugh Dickins authored
Martin Schwidefsky <schwidefsky@de.ibm.com> reported "Bug with shared memory" to LKML 14 May: hang due to schedule in truncate_list_pages called from .... shm_destroy holding shm_lock spinlock. shm_destroy needs that lock for shm_rmid, but it can be safely unlocked once link from id to shp has been removed.
-
Linus Torvalds authored
-
Martin Dalecki authored
Here is a quick fix. I would like to synchronize with the irq handler changes as well. Becouse right now I know that preemption is killing the disk subsystem when moving data between disks using different request queues... In esp. It get's me in to do_request() with a queue in unplugged state. (Not everything is my fault, after all :-).
-