From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [BK PATCH] PCI Hotplug changes for 2.5.25
Date: Sun, 7 Jul 2002 12:43:25 -0700 [thread overview]
Message-ID: <20020707194324.GO17922@kroah.com> (raw)
In-Reply-To: <20020707193331.GA17922@kroah.com>
For those people without BK, I'm including the patches here, like I've
been doing with the USB patches. They are also all available in my
kernel.org directory if you don't like patches through email :)
greg k-h
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.628 -> 1.629
# drivers/hotplug/pci_hotplug_core.c 1.17 -> 1.18
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/07/07 greg@kroah.com 1.629
# PCI Hotplug: fix i_nlink for root inode in pcihpfs
# --------------------------------------------
#
diff -Nru a/drivers/hotplug/pci_hotplug_core.c b/drivers/hotplug/pci_hotplug_core.c
--- a/drivers/hotplug/pci_hotplug_core.c Sun Jul 7 12:24:42 2002
+++ b/drivers/hotplug/pci_hotplug_core.c Sun Jul 7 12:24:42 2002
@@ -109,6 +109,9 @@
case S_IFDIR:
inode->i_op = &pcihpfs_dir_inode_operations;
inode->i_fop = &simple_dir_operations;
+
+ /* directory inodes start off with i_nlink == 2 (for "." entry) */
+ inode->i_nlink++;
break;
}
}
next prev parent reply other threads:[~2002-07-07 19:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-07 19:33 [BK PATCH] PCI Hotplug changes for 2.5.25 Greg KH
2002-07-07 19:43 ` Greg KH [this message]
2002-07-07 19:44 ` Greg KH
2002-07-07 20:00 ` Diego Calleja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020707194324.GO17922@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.