* PATCH 2.5.2.6: fix umsdos build
@ 2002-01-02 1:19 Jeff Garzik
0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2002-01-02 1:19 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Linux-Kernel list, viro
[-- Attachment #1: Type: text/plain, Size: 180 bytes --]
add two calls to kdev_same
--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno
[-- Attachment #2: umsdos-2.5.2.6.patch --]
[-- Type: text/plain, Size: 818 bytes --]
Index: fs/umsdos/inode.c
===================================================================
RCS file: /cvsroot/gkernel/linux_2_5/fs/umsdos/inode.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 inode.c
--- fs/umsdos/inode.c 2001/09/30 19:26:08 1.1.1.1
+++ fs/umsdos/inode.c 2002/01/02 01:16:13
@@ -49,7 +49,7 @@
void UMSDOS_put_super (struct super_block *sb)
{
Printk ((KERN_DEBUG "UMSDOS_put_super: entering\n"));
- if (saved_root && pseudo_root && sb->s_dev == ROOT_DEV) {
+ if (saved_root && pseudo_root && kdev_same(sb->s_dev, ROOT_DEV)) {
shrink_dcache_parent(saved_root);
dput(saved_root);
saved_root = NULL;
@@ -414,7 +414,7 @@
* must check like this, because we can be used with initrd
*/
- if (sb->s_dev != ROOT_DEV)
+ if (!kdev_same(sb->s_dev, ROOT_DEV))
goto out_noroot;
/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-02 1:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-02 1:19 PATCH 2.5.2.6: fix umsdos build Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox