- 08 Sep, 2005 40 commits
-
-
Anton Altaparmakov authored
lock protection over the buffer submission for i/o which allows the removal of the get_bh()/put_bh() pairs for each buffer. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
fs/ntfs/aops.c::ntfs_writepage(). Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
fs/ntfs/inode.c::ntfs_read_locked_{,attr_,index_}inode(). Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
updating the times in the inode in ntfs_setattr(). Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
importantly to take a locked runlist rather than them locking it which leads to lock reversal. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
Also, add BUG() checks to ntfs_attr_make_non_resident() and ntfs_attr_set() to ensure that these functions are never called for compressed or encrypted attributes. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
- Fix a bug in ntfs_map_runlist_nolock() where we forgot to protect access to the allocated size in the ntfs inode with the size lock. - Fix ntfs_attr_vcn_to_lcn_nolock() and ntfs_attr_find_vcn_nolock() to return LCN_ENOENT when there is no runlist and the allocated size is zero. - Fix load_attribute_list() to handle the case of a NULL runlist. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
index entry is in the index root, we forgot to set the @ir pointer in the index context. Thanks for Yura Pakhuchiy for finding this bug. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
length is zero. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
messages and include the inode number. Thanks to Yura Pakhuchiy for pointing this out. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
fs/ntfs/runlist.c::ntfs_mapping_pairs_decompress(). Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
Thanks to Stefano Picerno for the bug report. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
in the two critical regions. This means we no longer need to panic() when the allocation fails as it now cannot fail. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
- Modify fs/ntfs/malloc.h::ntfs_malloc_nofs() to do the kmalloc() based allocations with __GFP_HIGHMEM, analogous to how the vmalloc() based allocations are done. - Add fs/ntfs/malloc.h::ntfs_malloc_nofs_nofail() which is analogous to ntfs_malloc_nofs() but it performs allocations with __GFP_NOFAIL and hence cannot fail. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Anton Altaparmakov authored
- Support journals ($LogFile) which have been modified by chkdsk. This means users can boot into Windows after we marked the volume dirty. The Windows boot will run chkdsk and then reboot. The user can then immediately boot into Linux rather than having to do a full Windows boot first before rebooting into Linux and we will recognize such a journal and empty it as it is clean by definition. - Support journals ($LogFile) with only one restart page as well as journals with two different restart pages. We sanity check both and either use the only sane one or the more recent one of the two in the case that both are valid. Signed-off-by:
Anton Altaparmakov <aia21@cantab.net>
-
Linus Torvalds authored
With the previous commit that introduces the klist enhancements, we can now re-do 2b7d6a8c again.
-
James Bottomley authored
The problem is that klists claim to provide semantics for safe traversal of lists which are being modified. The failure case is when traversal of a list causes element removal (a fairly common case). The issue is that although the list node is refcounted, if it is embedded in an object (which is universally the case), then the object will be freed regardless of the klist refcount leading to slab corruption because the klist iterator refers to the prior element to get the next. The solution is to make the klist take and release references to the embedding object meaning that the embedding object won't be released until the list relinquishes the reference to it. (akpm: fast-track this because it's needed for the 2.6.13 scsi merge) Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
Revert commit 2b7d6a8c. The "fix" was known to not even compile. Duh. That's not a fix. That's just stupid. Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
-
viro@ZenIV.linux.org.uk authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
viro@ZenIV.linux.org.uk authored
Now that asm-powerpc/* is using ifdefs on __powerpc64__ we need to add it to CHECKFLAGS on ppc64. Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
viro@ZenIV.linux.org.uk authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
viro@ZenIV.linux.org.uk authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
viro@ZenIV.linux.org.uk authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
viro@ZenIV.linux.org.uk authored
CARD_... in hisax are all used with #if; CARD_FN_ENTERNOW_PCI lacks define to 0 if corresponding config option is not set. Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
viro@ZenIV.linux.org.uk authored
NDEBUG and NDEBUG_ABORT are almost always used as integers in NCR5380; added define to 0 if they are not defined, switched lone ifdef NDEBUG into if. Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
viro@ZenIV.linux.org.uk authored
All uses of ADDRLEN are comparisons with 64 (it's an address width). added define to 32 (again, we only care about comparisons with 64) if not defined. Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
viro@ZenIV.linux.org.uk authored
elf_aux is userland code; it uses symbol (ELF_CLASS) that doesn't exist in userland headers; pulled into kernel-offsets.h, switched elf_aux to using it. Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-