The patch titled

     name_to_dev_t warning fix

has been added to the -mm tree.  Its filename is

     name_to_dev_t-warning-fix.patch

Patches currently in -mm which might be from [EMAIL PROTECTED] are

git-netdev-janitor-fixup.patch
wireless-device-attr-fixes.patch
wireless-device-attr-fixes-2.patch
ipw2100-old-gcc-fix.patch
ieee80211_module-build-fixes.patch
ieee80211_tx-build-fix.patch
ieee80211_rx-build-fix.patch
ieee80211_crypt-build-fix.patch
ieee80211_crypt_ccmp-build-fix.patch
ieee80211_crypt_wep-build-fix.patch
ieee80211_crypt_tkip-build-fix.patch
revert-gregkh-pci-pci-assign-unassigned-resources.patch
dpt_i2o-warning-fix.patch
aic79xx-ahd_linux_dev_reset-cleanup.patch
bk-watchdog.patch
zatm-kfree-fix.patch
e1000-printk-warning-fix-2.patch
net-add-driver-for-the-nic-on-cell-blades-kconfig-fix.patch
ipw2200-build-fix.patch
x86_64-div-by-zero-fix.patch
page_uptodate-locking-scalability-fix.patch
yealink-updates.patch
pselect-ppoll-system-calls-tidy.patch
pselect-ppoll-system-calls-sigset_t-fix-2.patch
pselect-ppoll-system-calls-sigset_t-fix-3.patch
xip-empty_zero_page-build-fix.patch
reset-real_timer-target-on-exec-leader-change-coding-style-fixes.patch
smsc-ircc2-pm-cleanup-do-not-close-device-when-suspending-fixes.patch
connector-exit-notifier-fix.patch
connector-add-a-fork-connector-use-after-free-fix.patch
jbd-split-checkpoint-lists-tweaks.patch
revert-fix-broken-kmalloc_node-in-rc1-rc2.patch
nr_blockdev_pages-in_interrupt-warning.patch
sysfs-crash-debugging.patch
asfs-filesystem-driver-fixes.patch
reiser4-swsusp-build-fix.patch
reiser4-printk-warning-fix.patch
reiser4-mm-remove-pg_highmem-fix.patch
v9fs-debug-and-support-routines-fix.patch
timer-initialization-cleanup-define_timer-pluto-fix.patch



From: Andrew Morton <[EMAIL PROTECTED]>

kernel/power/disk.c needs a declaration of name_to_dev_t() in scope.  mount.h
seems like an appropriate choice.

Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 include/linux/mount.h |    2 ++
 init/do_mounts.c      |    1 +
 kernel/power/disk.c   |    2 ++
 3 files changed, 5 insertions(+)

diff -puN kernel/power/disk.c~name_to_dev_t-warning-fix kernel/power/disk.c
--- 25/kernel/power/disk.c~name_to_dev_t-warning-fix    Fri Jul  8 15:57:32 2005
+++ 25-akpm/kernel/power/disk.c Fri Jul  8 15:57:47 2005
@@ -16,6 +16,8 @@
 #include <linux/device.h>
 #include <linux/delay.h>
 #include <linux/fs.h>
+#include <linux/mount.h>
+
 #include "power.h"
 
 
diff -puN include/linux/mount.h~name_to_dev_t-warning-fix include/linux/mount.h
--- 25/include/linux/mount.h~name_to_dev_t-warning-fix  Fri Jul  8 15:57:32 2005
+++ 25-akpm/include/linux/mount.h       Fri Jul  8 15:58:28 2005
@@ -12,6 +12,7 @@
 #define _LINUX_MOUNT_H
 #ifdef __KERNEL__
 
+#include <linus/types.h>
 #include <linux/list.h>
 #include <linux/spinlock.h>
 #include <asm/atomic.h>
@@ -76,6 +77,7 @@ extern int do_add_mount(struct vfsmount 
 extern void mark_mounts_for_expiry(struct list_head *mounts);
 
 extern spinlock_t vfsmount_lock;
+extern dev_t name_to_dev_t(char *name)
 
 #endif
 #endif /* _LINUX_MOUNT_H */
diff -puN init/do_mounts.c~name_to_dev_t-warning-fix init/do_mounts.c
--- 25/init/do_mounts.c~name_to_dev_t-warning-fix       Fri Jul  8 15:58:38 2005
+++ 25-akpm/init/do_mounts.c    Fri Jul  8 15:58:47 2005
@@ -7,6 +7,7 @@
 #include <linux/root_dev.h>
 #include <linux/security.h>
 #include <linux/delay.h>
+#include <linux/mount.h>
 
 #include <linux/nfs_fs.h>
 #include <linux/nfs_fs_sb.h>
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to