Commit 4dd94a28 authored by Linus Torvalds's avatar Linus Torvalds

Merge penguin:v2.5/linux

into home.transmeta.com:/home/torvalds/v2.5/linux
parents 85ecde67 fce9505f
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <linux/genhd.h> #include <linux/genhd.h>
#include <linux/module.h> /* for EXPORT_SYMBOL */ #include <linux/module.h> /* for EXPORT_SYMBOL */
#include <linux/backing-dev.h> #include <linux/backing-dev.h>
#include <linux/buffer_head.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -174,6 +174,7 @@ static int print_unex=1; ...@@ -174,6 +174,7 @@ static int print_unex=1;
#include <linux/init.h> #include <linux/init.h>
#include <linux/devfs_fs_kernel.h> #include <linux/devfs_fs_kernel.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/buffer_head.h> /* for invalidate_buffers() */
/* /*
* PS/2 floppies have much slower step rates than regular floppies. * PS/2 floppies have much slower step rates than regular floppies.
...@@ -3793,6 +3794,7 @@ static int floppy_open(struct inode * inode, struct file * filp) ...@@ -3793,6 +3794,7 @@ static int floppy_open(struct inode * inode, struct file * filp)
if (old_dev != -1 && old_dev != minor(inode->i_rdev)) { if (old_dev != -1 && old_dev != minor(inode->i_rdev)) {
if (buffer_drive == drive) if (buffer_drive == drive)
buffer_track = -1; buffer_track = -1;
/* umm, invalidate_buffers() in ->open?? --hch */
invalidate_buffers(mk_kdev(FLOPPY_MAJOR,old_dev)); invalidate_buffers(mk_kdev(FLOPPY_MAJOR,old_dev));
} }
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <linux/bootmem.h> #include <linux/bootmem.h>
#include <linux/completion.h> #include <linux/completion.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/buffer_head.h>
#include <scsi/scsi.h> #include <scsi/scsi.h>
#include <linux/backing-dev.h> #include <linux/backing-dev.h>
......
...@@ -73,6 +73,7 @@ ...@@ -73,6 +73,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/loop.h> #include <linux/loop.h>
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/buffer_head.h> /* for invalidate_bdev() */
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/devfs_fs_kernel.h> #include <linux/devfs_fs_kernel.h>
#include <linux/buffer_head.h> /* for invalidate_bdev() */
#include <asm/uaccess.h> #include <asm/uaccess.h>
/* /*
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/buffer_head.h> /* for fsync_bdev()/wakeup_bdflush() */
#include <linux/spinlock.h> #include <linux/spinlock.h>
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/ide.h> #include <linux/ide.h>
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/buffer_head.h> /* for invalidate_bdev() */
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <asm/irq.h> #include <asm/irq.h>
...@@ -392,6 +393,7 @@ static void idedisk_release(struct inode *inode, struct file *filp, struct ata_d ...@@ -392,6 +393,7 @@ static void idedisk_release(struct inode *inode, struct file *filp, struct ata_d
if (drive->removable && !drive->usage) { if (drive->removable && !drive->usage) {
struct ata_taskfile args; struct ata_taskfile args;
/* XXX I don't think this is up to the lowlevel drivers.. --hch */
invalidate_bdev(inode->i_bdev, 0); invalidate_bdev(inode->i_bdev, 0);
memset(&args, 0, sizeof(args)); memset(&args, 0, sizeof(args));
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/genhd.h> #include <linux/genhd.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/blk.h> #include <linux/blk.h>
#include <linux/buffer_head.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include "hosts.h"
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/buffer_head.h> /* for invalidate_buffers() */
#include <linux/blk.h> #include <linux/blk.h>
#include <linux/blkpg.h> #include <linux/blkpg.h>
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#include "dir_f.h" #include "dir_f.h"
struct buffer_head;
/* /*
* Directory handling * Directory handling
*/ */
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h> /* for file_fsync() */
#include "adfs.h" #include "adfs.h"
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/buffer_head.h>
#include "adfs.h" #include "adfs.h"
#include "dir_f.h" #include "dir_f.h"
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/buffer_head.h>
#include "adfs.h" #include "adfs.h"
#include "dir_fplus.h" #include "dir_fplus.h"
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <linux/fcntl.h> #include <linux/fcntl.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/buffer_head.h> /* for file_fsync() */
#include "adfs.h" #include "adfs.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/buffer_head.h>
#include "adfs.h" #include "adfs.h"
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/adfs_fs.h> #include <linux/adfs_fs.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/buffer_head.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/buffer_head.h>
#include <asm/bitops.h> #include <asm/bitops.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/amigaffs.h> #include <linux/amigaffs.h>
#include <linux/buffer_head.h>
extern struct timezone sys_tz; extern struct timezone sys_tz;
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/amigaffs.h> #include <linux/amigaffs.h>
#include <linux/buffer_head.h>
/* This is, of course, shamelessly stolen from fs/minix */ /* This is, of course, shamelessly stolen from fs/minix */
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/amigaffs.h> #include <linux/amigaffs.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
static int affs_readdir(struct file *, void *, filldir_t); static int affs_readdir(struct file *, void *, filldir_t);
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <linux/amigaffs.h> #include <linux/amigaffs.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/buffer_head.h>
#if PAGE_SIZE < 4096 #if PAGE_SIZE < 4096
#error PAGE_SIZE must be at least 4096 #error PAGE_SIZE must be at least 4096
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/fcntl.h> #include <linux/fcntl.h>
#include <linux/amigaffs.h> #include <linux/amigaffs.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/errno.h> #include <linux/errno.h>
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/amigaffs.h> #include <linux/amigaffs.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
static int affs_symlink_readpage(struct file *file, struct page *page) static int affs_symlink_readpage(struct file *file, struct page *page)
{ {
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <linux/sched.h>
#include "bfs.h" #include "bfs.h"
#undef DEBUG #undef DEBUG
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/fs.h> #include <linux/buffer_head.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include "bfs.h" #include "bfs.h"
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include "bfs.h" #include "bfs.h"
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/blkpg.h> #include <linux/blkpg.h>
#include <linux/buffer_head.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <linux/mempool.h> #include <linux/mempool.h>
#include <linux/hash.h> #include <linux/hash.h>
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/buffer_head.h>
#include <asm/bitops.h> #include <asm/bitops.h>
#define BH_ENTRY(list) list_entry((list), struct buffer_head, b_assoc_buffers) #define BH_ENTRY(list) list_entry((list), struct buffer_head, b_assoc_buffers)
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/cramfs_fs_sb.h> #include <linux/cramfs_fs_sb.h>
#include <linux/buffer_head.h>
#include <asm/semaphore.h> #include <asm/semaphore.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
* Copyright (c) 1999 Al Smith * Copyright (c) 1999 Al Smith
*/ */
#include <linux/buffer_head.h>
#include <linux/efs_fs.h> #include <linux/efs_fs.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* Portions derived from work (c) 1995,1996 Christian Vogelgsang. * Portions derived from work (c) 1995,1996 Christian Vogelgsang.
*/ */
#include <linux/buffer_head.h>
#include <linux/efs_fs.h> #include <linux/efs_fs.h>
int efs_get_block(struct inode *inode, sector_t iblock, int efs_get_block(struct inode *inode, sector_t iblock,
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <linux/efs_fs.h> #include <linux/efs_fs.h>
#include <linux/efs_fs_sb.h> #include <linux/efs_fs_sb.h>
#include <linux/buffer_head.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/fs.h> #include <linux/fs.h>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* Portions derived from work (c) 1995,1996 Christian Vogelgsang. * Portions derived from work (c) 1995,1996 Christian Vogelgsang.
*/ */
#include <linux/buffer_head.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/efs_fs.h> #include <linux/efs_fs.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <linux/efs_vh.h> #include <linux/efs_vh.h>
#include <linux/efs_fs_sb.h> #include <linux/efs_fs_sb.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/buffer_head.h>
static struct super_block *efs_get_sb(struct file_system_type *fs_type, static struct super_block *efs_get_sb(struct file_system_type *fs_type,
int flags, char *dev_name, void *data) int flags, char *dev_name, void *data)
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/efs_fs.h> #include <linux/efs_fs.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/buffer_head.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
static int efs_symlink_readpage(struct file *file, struct page *page) static int efs_symlink_readpage(struct file *file, struct page *page)
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include "ext2.h" #include "ext2.h"
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/buffer_head.h>
/* /*
* balloc.c contains the blocks allocation and deallocation routines * balloc.c contains the blocks allocation and deallocation routines
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Universite Pierre et Marie Curie (Paris VI) * Universite Pierre et Marie Curie (Paris VI)
*/ */
#include "ext2.h" #include <linux/buffer_head.h>
static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0}; static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "ext2.h" #include "ext2.h"
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h> /* for fsync_inode_buffers() */
/* /*
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include "ext2.h" #include "ext2.h"
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/buffer_head.h>
/* /*
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/buffer_head.h>
MODULE_AUTHOR("Remy Card and others"); MODULE_AUTHOR("Remy Card and others");
MODULE_DESCRIPTION("Second Extended Filesystem"); MODULE_DESCRIPTION("Second Extended Filesystem");
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "ext2.h" #include "ext2.h"
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/buffer_head.h> /* for block_symlink() */
/* /*
* Couple of helper functions - make the code slightly cleaner. * Couple of helper functions - make the code slightly cleaner.
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/random.h> #include <linux/random.h>
#include <linux/buffer_head.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/ext3_fs.h> #include <linux/ext3_fs.h>
#include <linux/ext3_jbd.h> #include <linux/ext3_jbd.h>
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/buffer_head.h>
/* /*
* balloc.c contains the blocks allocation and deallocation routines * balloc.c contains the blocks allocation and deallocation routines
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Universite Pierre et Marie Curie (Paris VI) * Universite Pierre et Marie Curie (Paris VI)
*/ */
#include <linux/fs.h> #include <linux/buffer_head.h>
static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0}; static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/jbd.h> #include <linux/jbd.h>
#include <linux/ext3_fs.h> #include <linux/ext3_fs.h>
#include <linux/buffer_head.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
static unsigned char ext3_filetype_table[] = { static unsigned char ext3_filetype_table[] = {
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/buffer_head.h>
#include <asm/bitops.h> #include <asm/bitops.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/buffer_head.h>
/* /*
* SEARCH_FROM_ZERO forces each block allocation to search from the start * SEARCH_FROM_ZERO forces each block allocation to search from the start
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/buffer_head.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#ifdef CONFIG_JBD_DEBUG #ifdef CONFIG_JBD_DEBUG
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/msdos_fs.h> #include <linux/msdos_fs.h>
#include <linux/fat_cvf.h> #include <linux/fat_cvf.h>
#include <linux/buffer_head.h>
struct buffer_head *fat_bread(struct super_block *sb, int block) struct buffer_head *fat_bread(struct super_block *sb, int block)
{ {
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/msdos_fs.h> #include <linux/msdos_fs.h>
#include <linux/fat_cvf.h> #include <linux/fat_cvf.h>
#include <linux/buffer_head.h>
#if 0 #if 0
# define PRINTK(x) printk x # define PRINTK(x) printk x
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include <linux/msdos_fs_sb.h> #include <linux/msdos_fs_sb.h>
#include <linux/fat_cvf.h> #include <linux/fat_cvf.h>
#include <linux/config.h> #include <linux/config.h>
#include <linux/buffer_head.h>
#ifdef CONFIG_KMOD #ifdef CONFIG_KMOD
#include <linux/kmod.h> #include <linux/kmod.h>
#endif #endif
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/msdos_fs.h> #include <linux/msdos_fs.h>
#include <linux/dirent.h> #include <linux/dirent.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <linux/msdos_fs.h> #include <linux/msdos_fs.h>
#include <linux/fat_cvf.h> #include <linux/fat_cvf.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#define PRINTK(x) #define PRINTK(x)
#define Printk(x) printk x #define Printk(x) printk x
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/msdos_fs.h> #include <linux/msdos_fs.h>
#include <linux/fat_cvf.h> #include <linux/fat_cvf.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/buffer_head.h>
//#include <asm/uaccess.h> //#include <asm/uaccess.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/msdos_fs.h> #include <linux/msdos_fs.h>
#include <linux/buffer_head.h>
#if 0 #if 0
# define PRINTK(x) printk x # define PRINTK(x) printk x
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
* Veritas filesystem driver - filesystem to disk block mapping. * Veritas filesystem driver - filesystem to disk block mapping.
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/buffer_head.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include "vxfs.h" #include "vxfs.h"
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
* Veritas filesystem driver - fileset header routines. * Veritas filesystem driver - fileset header routines.
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/buffer_head.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/slab.h> #include <linux/slab.h>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
* Veritas filesystem driver - inode routines. * Veritas filesystem driver - inode routines.
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/buffer_head.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/slab.h> #include <linux/slab.h>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
* Veritas filesystem driver - object location table support. * Veritas filesystem driver - object location table support.
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/buffer_head.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include "vxfs.h" #include "vxfs.h"
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
* Veritas filesystem driver - shared subroutines. * Veritas filesystem driver - shared subroutines.
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/buffer_head.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/buffer_head.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/stat.h> #include <linux/stat.h>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/writeback.h> #include <linux/writeback.h>
#include <linux/backing-dev.h> #include <linux/backing-dev.h>
#include <linux/buffer_head.h>
/** /**
* __mark_inode_dirty - internal function * __mark_inode_dirty - internal function
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <linux/hfs_fs_sb.h> #include <linux/hfs_fs_sb.h>
#include <linux/hfs_fs_i.h> #include <linux/hfs_fs_i.h>
#include <linux/hfs_fs.h> #include <linux/hfs_fs.h>
#include <linux/buffer_head.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
/*================ Forward declarations ================*/ /*================ Forward declarations ================*/
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* HPFS bitmap operations * HPFS bitmap operations
*/ */
#include <linux/buffer_head.h>
#include "hpfs_fn.h" #include "hpfs_fn.h"
/* /*
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* handling HPFS anode tree that contains file allocation info * handling HPFS anode tree that contains file allocation info
*/ */
#include <linux/buffer_head.h>
#include "hpfs_fn.h" #include "hpfs_fn.h"
/* Find a sector in allocation tree */ /* Find a sector in allocation tree */
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* general buffer i/o * general buffer i/o
*/ */
#include <linux/buffer_head.h>
#include <linux/string.h> #include <linux/string.h>
#include "hpfs_fn.h" #include "hpfs_fn.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
*/ */
#include "hpfs_fn.h" #include "hpfs_fn.h"
#include <linux/buffer_head.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* handling directory dnode tree - adding, deleteing & searching for dirents * handling directory dnode tree - adding, deleteing & searching for dirents
*/ */
#include <linux/buffer_head.h>
#include "hpfs_fn.h" #include "hpfs_fn.h"
static loff_t get_pos(struct dnode *d, struct hpfs_dirent *fde) static loff_t get_pos(struct dnode *d, struct hpfs_dirent *fde)
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* handling extended attributes * handling extended attributes
*/ */
#include <linux/buffer_head.h>
#include <linux/string.h> #include <linux/string.h>
#include "hpfs_fn.h" #include "hpfs_fn.h"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* file VFS functions * file VFS functions
*/ */
#include <linux/buffer_head.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
//#define DBG //#define DBG
//#define DEBUG_LOCKS //#define DEBUG_LOCKS
#include <linux/buffer_head.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/hpfs_fs.h> #include <linux/hpfs_fs.h>
#include <linux/hpfs_fs_i.h> #include <linux/hpfs_fs_i.h>
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include "hpfs_fn.h" #include "hpfs_fn.h"
static struct file_operations hpfs_file_ops = static struct file_operations hpfs_file_ops =
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* mapping structures to memory with some minimal checks * mapping structures to memory with some minimal checks
*/ */
#include <linux/buffer_head.h>
#include "hpfs_fn.h" #include "hpfs_fn.h"
unsigned *hpfs_map_dnode_bitmap(struct super_block *s, struct quad_buffer_head *qbh) unsigned *hpfs_map_dnode_bitmap(struct super_block *s, struct quad_buffer_head *qbh)
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/buffer_head.h>
#include "hpfs_fn.h" #include "hpfs_fn.h"
int hpfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) int hpfs_mkdir(struct inode *dir, struct dentry *dentry, int mode)
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* mounting, unmounting, error handling * mounting, unmounting, error handling
*/ */
#include <linux/buffer_head.h>
#include <linux/string.h> #include <linux/string.h>
#include "hpfs_fn.h" #include "hpfs_fn.h"
#include <linux/module.h> #include <linux/module.h>
......
...@@ -14,6 +14,16 @@ ...@@ -14,6 +14,16 @@
#include <linux/writeback.h> #include <linux/writeback.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/backing-dev.h> #include <linux/backing-dev.h>
/*
* This is needed for the following functions:
* - inode_has_buffers
* - invalidate_inode_buffers
* - fsync_bdev
* - invalidate_bdev
*
* FIXME: remove all knowledge of the buffer layer from this file
*/
#include <linux/buffer_head.h>
/* /*
* New inode.c implementation. * New inode.c implementation.
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/zlib.h> #include <linux/zlib.h>
#include <linux/buffer_head.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/config.h> #include <linux/config.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/buffer_head.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/config.h> /* Joliet? */ #include <linux/config.h> /* Joliet? */
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include "rock.h" #include "rock.h"
......
...@@ -85,7 +85,4 @@ int jffs_print_file(struct jffs_file *f); ...@@ -85,7 +85,4 @@ int jffs_print_file(struct jffs_file *f);
void jffs_print_hash_table(struct jffs_control *c); void jffs_print_hash_table(struct jffs_control *c);
void jffs_print_tree(struct jffs_file *first_file, int indent); void jffs_print_tree(struct jffs_file *first_file, int indent);
struct buffer_head *jffs_get_write_buffer(kdev_t dev, int block);
void jffs_put_write_buffer(struct buffer_head *bh);
#endif /* __LINUX_JFFS_INTREP_H__ */ #endif /* __LINUX_JFFS_INTREP_H__ */
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/buffer_head.h>
#include "jfs_incore.h" #include "jfs_incore.h"
#include "jfs_filsys.h" #include "jfs_filsys.h"
#include "jfs_imap.h" #include "jfs_imap.h"
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/completion.h> #include <linux/completion.h>
#include <linux/buffer_head.h> /* for sync_blockdev() */
#include "jfs_incore.h" #include "jfs_incore.h"
#include "jfs_filsys.h" #include "jfs_filsys.h"
#include "jfs_metapage.h" #include "jfs_metapage.h"
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/buffer_head.h>
#include "jfs_incore.h" #include "jfs_incore.h"
#include "jfs_filsys.h" #include "jfs_filsys.h"
#include "jfs_metapage.h" #include "jfs_metapage.h"
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include "minix.h" #include "minix.h"
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <asm/bitops.h> #include <asm/bitops.h>
static int nibblemap[] = { 4,3,3,2,3,2,2,1,3,2,2,1,2,1,1,0 }; static int nibblemap[] = { 4,3,3,2,3,2,2,1,3,2,2,1,2,1,1,0 };
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* minix regular file handling primitives * minix regular file handling primitives
*/ */
#include <linux/buffer_head.h> /* for fsync_inode_buffers() */
#include "minix.h" #include "minix.h"
/* /*
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <linux/module.h> #include <linux/module.h>
#include "minix.h" #include "minix.h"
#include <linux/buffer_head.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/highuid.h> #include <linux/highuid.h>
......
#include <linux/buffer_head.h>
#include "minix.h" #include "minix.h"
enum {DEPTH = 3, DIRECT = 7}; /* Only double indirect */ enum {DEPTH = 3, DIRECT = 7}; /* Only double indirect */
......
#include <linux/buffer_head.h>
#include "minix.h" #include "minix.h"
enum {DIRECT = 7, DEPTH = 4}; /* Have triple indirect */ enum {DIRECT = 7, DEPTH = 4}; /* Have triple indirect */
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
* Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 1991, 1992 Linus Torvalds
*/ */
#include <linux/buffer_head.h> /* for block_symlink() */
#include "minix.h" #include "minix.h"
static inline void inc_count(struct inode *inode) static inline void inc_count(struct inode *inode)
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/buffer_head.h>
#include <linux/msdos_fs.h> #include <linux/msdos_fs.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/nfs3.h> #include <linux/nfs3.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/dcache.h> #include <linux/dcache.h>
#include <linux/namei.h> #include <linux/namei.h>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/swap.h> #include <linux/swap.h>
#include <linux/buffer_head.h>
#include "ntfs.h" #include "ntfs.h"
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <linux/buffer_head.h>
#include "ntfs.h" #include "ntfs.h"
/* Temporary helper functions -- might become macros */ /* Temporary helper functions -- might become macros */
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
*/ */
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/buffer_head.h>
#include "ntfs.h" #include "ntfs.h"
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
*/ */
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/buffer_head.h>
#include "ntfs.h" #include "ntfs.h"
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment