- 13 Jul, 2002 1 commit
-
-
Anton Altaparmakov authored
- Apply block optimization added to fs/ntfs/aops.c::ntfs_read_block() to fs/ntfs/compress.c::ntfs_file_read_compressed_block() as well. - Drop the "file" from ntfs_file_read_compressed_block(). - Rename fs/ntfs/aops.c::ntfs_enb_buffer_read_async() to ntfs_end_buffer_async_read() (more like the fs/buffer.c counterpart). - Update ntfs_end_buffer_async_read() with the improved logic from its updated counterpart fs/buffer.c::end_buffer_async_read(). Apply further logic improvements to better determine when we set PageError. - Update submission of buffers in fs/ntfs/aops.c::ntfs_read_block() to check for the buffers being uptodate first in line with the updated fs/buffer.c::block_read_full_page(). This plugs a small race condition.
-
- 11 Jul, 2002 2 commits
-
-
Anton Altaparmakov authored
- There was a narrow window between checking a buffer head for being uptodate and locking it in ntfs_file_read_compressed_block(). We now lock the buffer and then check whether it is uptodate or not.
-
Anton Altaparmakov authored
- Modify fs/ntfs/inode.c::ntfs_read_locked_inode() to return an error code and update callers, i.e. ntfs_iget(), to pass that error code up instead of just using -EIO. - Modifications to super.c to ensure that both mount and remount cannot set any write related options when the driver is compiled read-only. - Optimize block resolution in fs/ntfs/aops.c::ntfs_read_block() to cache the current run list element. This should improve performance when reading very large and/or very fragmented data.
-
- 08 Jul, 2002 3 commits
-
-
Anton Altaparmakov authored
-
Anton Altaparmakov authored
- Fix a stupid bug introduced in 2.0.15 where we were unmapping the wrong inode in fs/ntfs/inode.c::ntfs_attr_iget(). - Convert $MFT/$BITMAP access to attribute inode API and remove all remnants of the ugly mftbmp address space and operations hack. This means we finally have only one readpage function as well as only one async io completion handler. Yey! The mft bitmap is now just an attribute inode and is accessed from vol->mftbmp_ino just as if it were a normal file. Fake inodes rule. (-:
-
Anton Altaparmakov authored
- Fix silly bug in fs/ntfs/super.c::parse_options() which was causing remounts to fail when the partition had an entry in /etc/fstab and the entry specified the nls= option. - Apply same macro magic used in fs/ntfs/inode.h to fs/ntfs/volume.h to expand all the helper functions NVolFoo(), NVolSetFoo(), and NVolClearFoo(). - Move copyright statement from driver initialisation message to module description (fs/super.c). This makes the initialisation message fit on one line and fits in better with rest of kernel. - Update fs/ntfs/attrib.c::map_run_list() to work on both real and attribute inodes, and both for files and directories. - Implement fake attribute inodes allowing all attribute i/o to go via the page cache and to use all the normal vfs/mm functionality: - Add ntfs_attr_iget() and its helper ntfs_read_locked_attr_inode() to fs/ntfs/inode.c. - Add needed cleanup code to ntfs_clear_big_inode(). - Merge address space operations for files and directories (aops.c), now just have ntfs_aops: - Rename: end_buffer_read_attr_async() -> ntfs_end_buffer_read_async(), ntfs_attr_read_block() -> ntfs_read_block(), ntfs_file_read_page() -> ntfs_readpage(). - Rewrite fs/ntfs/aops.c::ntfs_readpage() to work on both real and attribute inodes, and both for files and directories. - Remove obsolete fs/ntfs/aops.c::ntfs_mst_readpage().
-
- 07 Jul, 2002 1 commit
-
-
Anton Altaparmakov authored
-
- 06 Jul, 2002 6 commits
-
-
Linus Torvalds authored
table lock
-
Matthew Wilcox authored
Whoever did the strsep patches didn't check that ips still compiles. here's a patch.
-
Brad Hards authored
-
Brad Hards authored
Found a few typos in the input changes. Fixup patch attached.
-
Linus Torvalds authored
-
Anton Altaparmakov authored
-
- 05 Jul, 2002 18 commits
-
-
Anton Altaparmakov authored
-
Anton Altaparmakov authored
-
Linus Torvalds authored
-
Petr Vandrovec authored
drivers/ide/probe.c initializes gd->de_arr and gd->flags twice. Except that it is unnecessary it also leaks memory.
-
Mark Kettenis authored
Edition 4.1 of the System V Application Binary Interface says that "The first namesz bytes in name contains a null-terminated representation of the entry's owner or originator". This implies that the terminating null is included in namesz, which is corroborated by the example that follows the description. However, this is not what the Linux kernel does when it writes its notes into an ELF core dump. The attached patch fixes this.
-
Linus Torvalds authored
HACK ALERT! This needs to be fixed to do what reiserfs actually thinks it _should_ do.
-
Linus Torvalds authored
-
Orjan Friberg authored
In usb_bluetooth_probe, the transfer buffers for the write pool urbs are allocated with size 0, because bluetooth->bulk_out_buffer_size isn't set until after the loop.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
Moved the file ops and minor number stuff out of the usb structure, Now usb_register_dev() and usb_deregister_dev() must be called if you want to use the USB major number.
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/gregkh-2.5
-
Linus Torvalds authored
-
Paul Menage authored
This patch removes BKL protection from the invocation of the super_operations ->statfs() method, and shifts it into the filesystems where necessary. Any out-of-tree filesystems may need to take the BKL in their statfs() methods if they were relying on it for synchronisation. All ->statfs() implementations have been modified to take the BKL, except for those that don't reference any external mutable data or that already have their own locking. Additionally, capifs is changed to use simple_statfs rather than its own home-grown version. The BKL change has been flagged at the end of Documentation/filesystems/porting, along with the recent change to ->permission BKL usage.
-
http://linux-ntfs.bkbits.net/ntfs-tng-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://linux-input.bkbits.net/linux-inputLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
-
Anton Altaparmakov authored
-
- 04 Jul, 2002 9 commits
-
-
Petko Manolov authored
I chose a little bit more restrictive license for my drivers. Rx skb pool introduced in pegasus driver and the pool locking in rtl8150 is refined.
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Alexander Viro authored
* ->i_dev followed the example of ->s_dev - it's dev_t now. All remaining uses of ->i_dev either outright want dev_t (stat()) or couldn't care less (printing major:minor in /proc/<pid>/maps, etc.)
-
Alexander Viro authored
* JFS uses its ->logdev only twice - one of the places assigns it to_kdev_t(le32_to_cpu(...)), another uses kdev_t_to_nr() of it. Switched to u32 - it's just a place where we store device number we'd got from superblock. * several reiserfs_fs.h function prototypes removed - functions in question don't exist anymore. * smbfs doesn't support device nodes; ->f_rdev removed.
-
Alexander Viro authored
* svc_export ->ex_dev turned into dev_t. It's a pure search key and all places that set it actually do to_kdev_t(some_dev_t_expression).
-
Alexander Viro authored
* ->dev killed for md/linear.c (same as previous parts)
-
Alexander Viro authored
* md_import_device() returns resulting rdev or ERR_PTR(error) instead of returning 0 or error an letting caller find rdev.
-
Alexander Viro authored
* a bunch of callers of partition_name() are calling bdev_partition_name(), * the last users of raid1 and multipath ->dev are gone; so are the fields in question.
-
Alexander Viro authored
* ->diskop() split into individual methods; prototypes cleaned up. In particular, handling of hot_add_disk() gets mdk_rdev_t * of the component we are adding as an argument instead of playing the games with major/minor. Code cleaned up.
-