- 09 Feb, 2002 27 commits
-
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
Alexander Viro authored
Patch converts a bunch of places that hadn't been caught when ->s_id was introduced. Please, apply.
-
Alexander Viro authored
affs digs in blk_size[] to find the size of device (it has its analog of superblock living in the middle of disk). That information is available in ->s_bdev->bd_inode->i_size - no need to mess with major/minor/arrays to get it.
-
Alexander Viro authored
/proc/modules switched to use of seq_file, cleaned up.
-
Alexander Viro authored
Straightforward rewrite to seq_file.
-
Alexander Viro authored
Please, apply. Otherwise we eat quota like there's no tomorrow ;-/
-
Peter Osterlund authored
It compiles in -pre5 but doesn't work unless you also apply the patch below. Without this patch, bus_id will be empty which makes device_register fail.
-
Linus Torvalds authored
update
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Dave Jones authored
Big bits first, I'll redo the smaller bits tomorrow after some sleep. Same as last time, rediffed against pre5
-
Linus Torvalds authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Paul Gortmaker authored
There are a couple of errors in the DMA changes to the aha1542.c driver that appeared in 2.5.4pre3: - a typo (BUF vs BUS) - a macro handed a page instead of a scatterlist - printk format length mismatch Paul.
-
Linus Torvalds authored
-
Alexander Viro authored
Make dentry and ->i_sem manipulations in driverfs explicit. Something is seriously rotten there and real fixes will take non-trivial work (e.g, I suspect that we actually ought to kill driverfs_rename() - at least cross-directory one for regular files, maybe completely). This patch simply cleans the ground.
-
Alexander Viro authored
Mostly cosmetical cleanup - sane variable names, etc. That's pretty much it for balloc.c cleanups - stuff after that will be about decent threading.
-
Alexander Viro authored
in ext2_new_block() inode->i_sb can't be NULL. Dead code removed. merged returns in ext2_new_block() in ext2_new_block() added a local variable (sbi) for sb->u.ext2_sb; users converted. calculation of prealloc_goal moved into beginning of function. new local variable (block). Initialized to 0, set to the number of allocated block only when we are known to be successful. ext2_new_block() returns the value of 'block' now. As the result, out: is gone - it's identical to out_unlock now. check for block being chosen past the end of disk had been moved up No sense to check that after we had done the preallocations... quota allocation taken into the beginning of ext2_new_block(). we put the number of blocks we'd reserved into dq_alloc and then decrement it each time old code would do DQUOT_ALLOC/increment when it would do DQUOT_FREE. On the exit we release dq_alloc blocks I.e. all allocations are pushed into the beginning and all freeing - to the end. now that we had moved the last possible point of failure up, we can do the same with assignment of final result to block. code that does allocation within a group had been taken out into a helper - grab_block(map, size, goal). decrementing fs-wide free blocks count moved into the beginning of function. We try to reserve up to dq_alloc blocks - amount we _can_ grab is limited by the actual free space and root-reserved percentage. That logics had been taken into a helper - reserve_blocks(sb, amount). Number of blocks we had managed to reserve is put into es_alloc. When we actually grab a block, es_alloc is decremented. Upon the exit we release the leftovers. Old code didn't honor 'reserved for root' limit when doing prealloc - now that had been fixed. EXT2_BLOCKS_PER_GROUP(sb) put into a local variable (group_size) similar "reserve and release leftovers in the end" scheme for group (i.e. we try to reserve as much as we want in the group, then count how much had been used up and release the leftovers in the end). cleaned up the preallocation loop.
-
Alexander Viro authored
minor cleanup: update 'freed' only after we finish with group
-
Alexander Viro authored
in ext2_free_blocks() inode->i_sb can't be NULL; dead code removed.
-
Alexander Viro authored
new helper - group_release_blocks(desc, bh, count); updates free blocks count for given group ext2_free_blocks now counts the blocks freed in group and updates the per-group free blocks count at once.
-
Alexander Viro authored
we postpone releasing the quota until the end of ext2_free_blocks() and do that at once.
-
Alexander Viro authored
new helper function - release_blocks(sb, n); in ext2_free_blocks() we count the blocks we'd freed and update the fs-wide count of free blocks in the end - just before unlocking superblock. instead of doing that step at a time. reviewed by ext2 folks
-
Robert Love authored
On Sat, 2002-02-09 at 01:43, Linus Torvalds wrote: > That will clean up all your issues with header file ordering. You are right, it did. I removed all the sched.h dependencies and this reduced the size of the patch greatly. I now use current_thread_info() and none of the header or include hackery from before. I've tested this with and without preemption enabled with success. I appreciate your help with this. Again, this is a minimal i386-only patch. I have other arches, documentation, etc. Patch against 2.5.4-pre5. Enjoy, Robert Love
-
- 08 Feb, 2002 13 commits
-
-
Alexander Viro authored
Fix lost argument to "connect()"
-
Linus Torvalds authored
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Patrick Mochel authored
struct device has no ->sysdata and ->device should be ->dev
-
Alexander Viro authored
exp_procfs_exports() switched to seq_..., missing lock added.
-
Alexander Viro authored
all exports for given client are put on the cyclic list (->cl_list/->ex_list). Code cleaned up.
-
Alexander Viro authored
exports hash switched to use of struct list_head, code cleaned up.
-
Dave Jones authored
Change to use the new include/linux/zconf.h
-
Dave Jones authored
Additional descriptions that got lost along the way somewhere. Also updates some extra IDE options that shared the same fate.
-
Dave Jones authored
unneeded these days..
-
Dave Jones authored
- Reorder mainmenu items so CONFIG_EXPERIMENTAL is at the top again. - Various updates from 2.4
-
Dave Jones authored
-
Dave Jones authored
2.4/2.5 kernels suffer from an infinitely long hang when a serial tty device is closed, and there are characters waiting to be sent. The hang occurs in tty_wait_until_sent. There is a timeout 'closing_wait' which defines how long to wait for the TX buffers to empty; the problem is that the serial layer totally ignores it. It is stored in two structures, 'info' and 'state'. It is initialised in the 'state' structure, but used from the 'info' structure. It turns out that 'hub6' was also missing. I'm not currently clear what the expected behaviour should be when the timeout is changed via setserial, and others have the port open - I've opted to preserve the timeout until all users close the port. It's trivial to change this behaviour though.
-