diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-30 15:07:01 -0400 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-30 15:07:01 -0400 | 
| commit | 56f29d7fe452890eeeb7f2b0138b2d95b9745fb6 (patch) | |
| tree | 01b6b70297c53c9beb8d11eb186fbad9c166b1a2 /fs/compat.c | |
| parent | e823aff2d6eb43083abcc75a32ddfb167c324089 (diff) | |
| parent | 059af497c23492cb1ddcbba11c09dad385960bc0 (diff) | |
Merge branch 'block' of git://brick.kernel.dk/data/git/linux-2.6-block
* 'block' of git://brick.kernel.dk/data/git/linux-2.6-block: (67 commits)
  [PATCH] blk_queue_start_tag() shared map race fix
  [PATCH] Update axboe@suse.de email address
  [PATCH] fix creating zero sized bio mempools in low memory system
  [PATCH] CONFIG_BLOCK: blk_congestion_wait() fix
  [PATCH] CONFIG_BLOCK internal.h cleanups
  [PATCH] BLOCK: Make USB storage depend on SCSI rather than selecting it [try #6]
  [PATCH] BLOCK: Make it possible to disable the block layer [try #6]
  [PATCH] BLOCK: Remove no-longer necessary linux/buffer_head.h inclusions [try #6]
  [PATCH] BLOCK: Remove no-longer necessary linux/mpage.h inclusions [try #6]
  [PATCH] BLOCK: Move the msdos device ioctl compat stuff to the msdos driver [try #6]
  [PATCH] BLOCK: Move the Ext3 device ioctl compat stuff to the Ext3 driver [try #6]
  [PATCH] BLOCK: Move the Ext2 device ioctl compat stuff to the Ext2 driver [try #6]
  [PATCH] BLOCK: Move the ReiserFS device ioctl compat stuff to the ReiserFS driver [try #6]
  [PATCH] BLOCK: Move common FS-specific ioctls to linux/fs.h [try #6]
  [PATCH] BLOCK: Move the loop device ioctl compat stuff to the loop driver [try #6]
  [PATCH] BLOCK: Move __invalidate_device() to block_dev.c [try #6]
  [PATCH] BLOCK: Dissociate generic_writepages() from mpage stuff [try #6]
  [PATCH] BLOCK: Remove dependence on existence of blockdev_superblock [try #6]
  [PATCH] BLOCK: Move extern declarations out of fs/*.c into header files [try #6]
  [PATCH] BLOCK: Don't call block_sync_page() from AFS [try #6]
  ...
Diffstat (limited to 'fs/compat.c')
| -rw-r--r-- | fs/compat.c | 10 | 
1 files changed, 3 insertions, 7 deletions
| diff --git a/fs/compat.c b/fs/compat.c index ce982f6e8c80..122b4e3992b5 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
| @@ -52,11 +52,12 @@ | |||
| 52 | #include <asm/uaccess.h> | 52 | #include <asm/uaccess.h> | 
| 53 | #include <asm/mmu_context.h> | 53 | #include <asm/mmu_context.h> | 
| 54 | #include <asm/ioctls.h> | 54 | #include <asm/ioctls.h> | 
| 55 | 55 | #include "internal.h" | |
| 56 | extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat); | ||
| 57 | 56 | ||
| 58 | int compat_log = 1; | 57 | int compat_log = 1; | 
| 59 | 58 | ||
| 59 | extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat); | ||
| 60 | |||
| 60 | int compat_printk(const char *fmt, ...) | 61 | int compat_printk(const char *fmt, ...) | 
| 61 | { | 62 | { | 
| 62 | va_list ap; | 63 | va_list ap; | 
| @@ -313,9 +314,6 @@ out: | |||
| 313 | #define IOCTL_HASHSIZE 256 | 314 | #define IOCTL_HASHSIZE 256 | 
| 314 | static struct ioctl_trans *ioctl32_hash_table[IOCTL_HASHSIZE]; | 315 | static struct ioctl_trans *ioctl32_hash_table[IOCTL_HASHSIZE]; | 
| 315 | 316 | ||
| 316 | extern struct ioctl_trans ioctl_start[]; | ||
| 317 | extern int ioctl_table_size; | ||
| 318 | |||
| 319 | static inline unsigned long ioctl32_hash(unsigned long cmd) | 317 | static inline unsigned long ioctl32_hash(unsigned long cmd) | 
| 320 | { | 318 | { | 
| 321 | return (((cmd >> 6) ^ (cmd >> 4) ^ cmd)) % IOCTL_HASHSIZE; | 319 | return (((cmd >> 6) ^ (cmd >> 4) ^ cmd)) % IOCTL_HASHSIZE; | 
| @@ -838,8 +836,6 @@ static int do_nfs4_super_data_conv(void *raw_data) | |||
| 838 | return 0; | 836 | return 0; | 
| 839 | } | 837 | } | 
| 840 | 838 | ||
| 841 | extern int copy_mount_options (const void __user *, unsigned long *); | ||
| 842 | |||
| 843 | #define SMBFS_NAME "smbfs" | 839 | #define SMBFS_NAME "smbfs" | 
| 844 | #define NCPFS_NAME "ncpfs" | 840 | #define NCPFS_NAME "ncpfs" | 
| 845 | #define NFS4_NAME "nfs4" | 841 | #define NFS4_NAME "nfs4" | 
