summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/u14-34f.c
Commit message (Expand)AuthorAgeFilesLines
* [SCSI] u14-34f: convert to use the data buffer accessorsFUJITA Tomonori2007-05-261-33/+27
* IRQ: Maintain regs pointer globally rather than passing to IRQ handlersDavid Howells2006-10-051-3/+2
* [PATCH] irq-flags: scsi: Use the new IRQF_ constantsThomas Gleixner2006-07-021-1/+1
* Remove obsolete #include <linux/config.h>Jörn Engel2006-06-301-1/+0
* [SCSI] remove Scsi_Host_Template typedefChristoph Hellwig2005-11-091-1/+1
* [PATCH] kfree cleanup: drivers/scsiJesper Juhl2005-11-071-4/+5
* [SCSI] use scmd_id(), scmd_channel() throughout codeJeff Garzik2005-10-281-8/+7
* [SCSI] use sfoo_printk() in driversJeff Garzik2005-10-281-17/+15
* [SCSI] remove scsi_cmnd.eh_stateChristoph Hellwig2005-06-261-9/+0
* [SCSI] allow sleeping in ->eh_host_reset_handler()Jeff Garzik2005-06-171-0/+6
* [SCSI] Remove no-op implementations of SCSI EH hooksJeff Garzik2005-06-171-2/+0
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-161-0/+1987
* consistency checked by a call to fs/ntfs/super.c::load_and_init_usnjrnl(). */ bool ntfs_stamp_usnjrnl(ntfs_volume *vol) { ntfs_debug("Entering."); if (likely(!NVolUsnJrnlStamped(vol))) { sle64 stamp; struct page *page; USN_HEADER *uh; page = ntfs_map_page(vol->usnjrnl_max_ino->i_mapping, 0); if (IS_ERR(page)) { ntfs_error(vol->sb, "Failed to read from " "$UsnJrnl/$DATA/$Max attribute."); return false; } uh = (USN_HEADER*)page_address(page); stamp = get_current_ntfs_time(); ntfs_debug("Stamping transaction log ($UsnJrnl): old " "journal_id 0x%llx, old lowest_valid_usn " "0x%llx, new journal_id 0x%llx, new " "lowest_valid_usn 0x%llx.", (long long)sle64_to_cpu(uh->journal_id), (long long)sle64_to_cpu(uh->lowest_valid_usn), (long long)sle64_to_cpu(stamp), i_size_read(vol->usnjrnl_j_ino)); uh->lowest_valid_usn = cpu_to_sle64(i_size_read(vol->usnjrnl_j_ino)); uh->journal_id = stamp; flush_dcache_page(page); set_page_dirty(page); ntfs_unmap_page(page); /* Set the flag so we do not have to do it again on remount. */ NVolSetUsnJrnlStamped(vol); } ntfs_debug("Done."); return true; } #endif /* NTFS_RW */