Commit bdf47e98 authored by Linus Torvalds's avatar Linus Torvalds

Merge http://linux-isdn.bkbits.net/linux-2.5.misc

into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
parents 8e60e749 d3d3a50a
...@@ -3859,7 +3859,9 @@ static int check_floppy_change(kdev_t dev) ...@@ -3859,7 +3859,9 @@ static int check_floppy_change(kdev_t dev)
static int floppy_revalidate(kdev_t dev) static int floppy_revalidate(kdev_t dev)
{ {
#define NO_GEOM (!current_type[drive] && !TYPE(dev)) #define NO_GEOM (!current_type[drive] && !TYPE(dev))
#if 0
struct buffer_head * bh; struct buffer_head * bh;
#endif
int drive=DRIVE(dev); int drive=DRIVE(dev);
int cf; int cf;
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
#include <linux/genhd.h> #include <linux/genhd.h>
static char sd_version_str[] = "Version: 2.0.3 (20020417)"; /* static char sd_version_str[] = "Version: 2.0.3 (20020417)"; */
#define SD_MAJOR(i) (!(i) ? SCSI_DISK0_MAJOR : SCSI_DISK1_MAJOR-1+(i)) #define SD_MAJOR(i) (!(i) ? SCSI_DISK0_MAJOR : SCSI_DISK1_MAJOR-1+(i))
......
...@@ -135,7 +135,6 @@ void __inode_dir_notify(struct inode *inode, unsigned long event) ...@@ -135,7 +135,6 @@ void __inode_dir_notify(struct inode *inode, unsigned long event)
} }
if (changed) if (changed)
redo_inode_mask(inode); redo_inode_mask(inode);
out:
write_unlock(&dn_lock); write_unlock(&dn_lock);
} }
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/config.h> #include <linux/config.h>
#include "ext2.h" #include "ext2.h"
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/sched.h>
/* /*
* balloc.c contains the blocks allocation and deallocation routines * balloc.c contains the blocks allocation and deallocation routines
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <linux/config.h> #include <linux/config.h>
#include "ext2.h" #include "ext2.h"
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/sched.h>
/* /*
......
...@@ -203,6 +203,7 @@ find_appropriate_src(const struct ip_conntrack_tuple *tuple, ...@@ -203,6 +203,7 @@ find_appropriate_src(const struct ip_conntrack_tuple *tuple,
return NULL; return NULL;
} }
#ifdef CONFIG_IP_NF_NAT_LOCAL
/* If it's really a local destination manip, it may need to do a /* If it's really a local destination manip, it may need to do a
source manip too. */ source manip too. */
static int static int
...@@ -221,6 +222,7 @@ do_extra_mangle(u_int32_t var_ip, u_int32_t *other_ipp) ...@@ -221,6 +222,7 @@ do_extra_mangle(u_int32_t var_ip, u_int32_t *other_ipp)
ip_rt_put(rt); ip_rt_put(rt);
return 1; return 1;
} }
#endif
/* Simple way to iterate through all. */ /* Simple way to iterate through all. */
static inline int fake_cmp(const struct ip_nat_hash *i, static inline int fake_cmp(const struct ip_nat_hash *i,
......
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