Linux Kernel Mailing List | 1 Jan 01:59 2009

fat: drop negative dentry on rename() path

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ebeb0406f153db51ab2d4771faf2342bd6ca14dd
Commit:     ebeb0406f153db51ab2d4771faf2342bd6ca14dd
Parent:     f21f237cf55494c3a4209de323281a3b0528da10
Author:     OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
AuthorDate: Wed Nov 12 07:48:00 2008 +0900
Committer:  OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
CommitDate: Wed Nov 12 08:51:22 2008 +0900

    fat: drop negative dentry on rename() path

    Drop the negative dentry on rename() path, in order to make sure to
    use the case sensitive name which is specified by user if this is for
    creation.

    For it, this uses newly added LOOKUP_RENAME_TARGET like LOOKUP_CREATE.

    Signed-off-by: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
---
 fs/fat/namei_vfat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/fat/namei_vfat.c b/fs/fat/namei_vfat.c
index bf326d4..8ae32e3 100644
--- a/fs/fat/namei_vfat.c
+++ b/fs/fat/namei_vfat.c
 <at>  <at>  -78,7 +78,7  <at>  <at>  static int vfat_revalidate_ci(struct dentry *dentry, struct nameidata *nd)
 	 * for creation.
 	 */
 	if (!(nd->flags & (LOOKUP_CONTINUE | LOOKUP_PARENT))) {
-		if (nd->flags & LOOKUP_CREATE)
(Continue reading)

Linux Kernel Mailing List | 1 Jan 01:59 2009

fat: fix duplicate addition of ->llseek handler

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=985eafcc5480b0d98419b96869f2560abb2764c7
Commit:     985eafcc5480b0d98419b96869f2560abb2764c7
Parent:     ebeb0406f153db51ab2d4771faf2342bd6ca14dd
Author:     OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
AuthorDate: Wed Nov 12 07:48:01 2008 +0900
Committer:  OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
CommitDate: Wed Nov 12 08:51:22 2008 +0900

    fat: fix duplicate addition of ->llseek handler

    Signed-off-by: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
---
 fs/fat/dir.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index 67e0583..3a7f603 100644
--- a/fs/fat/dir.c
+++ b/fs/fat/dir.c
 <at>  <at>  -841,7 +841,6  <at>  <at>  const struct file_operations fat_dir_operations = {
 	.compat_ioctl	= fat_compat_dir_ioctl,
 #endif
 	.fsync		= file_fsync,
-	.llseek		= generic_file_llseek,
 };

 static int fat_get_short_entry(struct inode *dir, loff_t *pos,
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo <at> vger.kernel.org
(Continue reading)

Linux Kernel Mailing List | 1 Jan 01:59 2009

fat: make sure to set d_ops in fat_get_parent

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5a6bb10393eb9a1985e97af12f0cb2906bcbf1af
Commit:     5a6bb10393eb9a1985e97af12f0cb2906bcbf1af
Parent:     985eafcc5480b0d98419b96869f2560abb2764c7
Author:     Christoph Hellwig <hch <at> lst.de>
AuthorDate: Wed Nov 12 07:48:01 2008 +0900
Committer:  OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
CommitDate: Wed Nov 12 08:51:22 2008 +0900

    fat: make sure to set d_ops in fat_get_parent

    fat_get_parent needs to setup the dentry operations, otherwise we might
    lose them when the NFS server needs to reconnect out of cache inodes.

    Signed-off-by: Christoph Hellwig <hch <at> lst.de>
    Signed-off-by: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
---
 fs/fat/inode.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index bdd8fb7..37a8af1 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
 <at>  <at>  -749,6 +749,8  <at>  <at>  static struct dentry *fat_get_parent(struct dentry *child)
 	brelse(bh);

 	parent = d_obtain_alias(inode);
+	if (!IS_ERR(parent))
+		parent->d_op = sb->s_root->d_op;
 out:
(Continue reading)

Linux Kernel Mailing List | 1 Jan 01:59 2009

irq: for_each_irq_desc() move to irqnr.h

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f9af0e70911e9d6cc9a68f784dca86415486084d
Commit:     f9af0e70911e9d6cc9a68f784dca86415486084d
Parent:     51bc39f4ba35bae153b32145077fb1109bcae14c
Author:     KOSAKI Motohiro <kosaki.motohiro <at> jp.fujitsu.com>
AuthorDate: Fri Dec 26 12:24:24 2008 +0900
Committer:  Ingo Molnar <mingo <at> elte.hu>
CommitDate: Fri Dec 26 09:48:17 2008 +0100

    irq: for_each_irq_desc() move to irqnr.h

    Impact: cleanup

    before CONFIG_SPARSE_IRQ age, for_each_irq_desc() sat in irqnr.h and
    could be called from generic code.

    CONFIG_SPARSE_IRQ breaks this assumption, but SPARSE_IRQ version
    for_each_irq_desc() also can move into irqnr.h easily.

    Also, this patch unifies CONFIG_SPARSE_IRQ and !CONFIG_SPARSE_IRQ
    for_each_irq_desc().

    Signed-off-by: KOSAKI Motohiro <kosaki.motohiro <at> jp.fujitsu.com>
    Signed-off-by: Ingo Molnar <mingo <at> elte.hu>
---
 include/linux/irq.h   |   24 ++++--------------------
 include/linux/irqnr.h |   19 +++++++++----------
 kernel/irq/handle.c   |   13 +++++++++++--
 3 files changed, 24 insertions(+), 32 deletions(-)

diff --git a/include/linux/irq.h b/include/linux/irq.h
(Continue reading)

Linux Kernel Mailing List | 1 Jan 01:59 2009

hrtimer: remove #include <linux/irq.h>

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=51bc39f4ba35bae153b32145077fb1109bcae14c
Commit:     51bc39f4ba35bae153b32145077fb1109bcae14c
Parent:     860cf8894b326e4b89720f520540604834337b72
Author:     KOSAKI Motohiro <kosaki.motohiro <at> jp.fujitsu.com>
AuthorDate: Fri Dec 26 12:23:00 2008 +0900
Committer:  Ingo Molnar <mingo <at> elte.hu>
CommitDate: Fri Dec 26 09:48:16 2008 +0100

    hrtimer: remove #include <linux/irq.h>

    Impact: cleanup

    <linux/irq.h> can be removed and should be, because:

      - hrtimer doesn't use any irq feature.
      - <linux/irq.h> shouldn't be include from generic code.

    Signed-off-by: KOSAKI Motohiro <kosaki.motohiro <at> jp.fujitsu.com>
    Signed-off-by: Ingo Molnar <mingo <at> elte.hu>
---
 kernel/hrtimer.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index 47e6334..0ad3f3d 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
 <at>  <at>  -32,7 +32,6  <at>  <at> 
  */

(Continue reading)

Linux Kernel Mailing List | 1 Jan 01:59 2009

sparseirq: remove duplicated arch_early_irq_init()

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=00c23634879062d1c38d60128bf150c394a359e8
Commit:     00c23634879062d1c38d60128bf150c394a359e8
Parent:     18eefedfe8ad33e8fc7614c13359e29a9fab4644
Author:     Yinghai Lu <yinghai <at> kernel.org>
AuthorDate: Tue Dec 23 17:29:00 2008 -0800
Committer:  Ingo Molnar <mingo <at> elte.hu>
CommitDate: Fri Dec 26 10:43:30 2008 +0100

    sparseirq: remove duplicated arch_early_irq_init()

    Impact: clean up

    We already have a weak copy of this function in init/main.c

    Signed-off-by: Yinghai <yinghai <at> kernel.org>
    Signed-off-by: Ingo Molnar <mingo <at> elte.hu>
---
 kernel/irq/handle.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index 7dbdfe5..06b05a4 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
 <at>  <at>  -56,10 +56,6  <at>  <at>  void handle_bad_irq(unsigned int irq, struct irq_desc *desc)
 int nr_irqs = NR_IRQS;
 EXPORT_SYMBOL_GPL(nr_irqs);

-void __init __attribute__((weak)) arch_early_irq_init(void)
-{
(Continue reading)

Linux Kernel Mailing List | 1 Jan 01:59 2009

irq: simplify for_each_irq_desc() usage

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=18eefedfe8ad33e8fc7614c13359e29a9fab4644
Commit:     18eefedfe8ad33e8fc7614c13359e29a9fab4644
Parent:     26ddd8d5cac8a563953d5febe8c6e40909f7bce1
Author:     KOSAKI Motohiro <kosaki.motohiro <at> jp.fujitsu.com>
AuthorDate: Fri Dec 26 12:29:48 2008 +0900
Committer:  Ingo Molnar <mingo <at> elte.hu>
CommitDate: Fri Dec 26 09:48:18 2008 +0100

    irq: simplify for_each_irq_desc() usage

    Impact: cleanup

    all for_each_irq_desc() usage point have !desc check.
    then its check can move into for_each_irq_desc() macro.

    Signed-off-by: KOSAKI Motohiro <kosaki.motohiro <at> jp.fujitsu.com>
    Acked-by: Yinghai Lu <yinghai <at> kernel.org>
    Signed-off-by: Ingo Molnar <mingo <at> elte.hu>
---
 arch/x86/kernel/io_apic.c |   10 ----------
 drivers/xen/events.c      |    3 ---
 include/linux/irqnr.h     |    8 ++++++--
 kernel/irq/autoprobe.c    |   15 ---------------
 kernel/irq/handle.c       |    3 ---
 kernel/irq/spurious.c     |    5 -----
 6 files changed, 6 insertions(+), 38 deletions(-)

diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
index a74887b..2fe543f 100644
--- a/arch/x86/kernel/io_apic.c
(Continue reading)

Linux Kernel Mailing List | 1 Jan 01:59 2009

sparseirq: do not printk when migrating IRQ descriptors

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8b07cd44511f3aa78dd912cca6493275a6787dc5
Commit:     8b07cd44511f3aa78dd912cca6493275a6787dc5
Parent:     00c23634879062d1c38d60128bf150c394a359e8
Author:     Ingo Molnar <mingo <at> elte.hu>
AuthorDate: Fri Dec 26 19:10:04 2008 +0100
Committer:  Ingo Molnar <mingo <at> elte.hu>
CommitDate: Sat Dec 27 09:29:21 2008 +0100

    sparseirq: do not printk when migrating IRQ descriptors

    Impact: reduce printk noise

    There were a couple of leftover KERN_DEBUG debugging printks, remove
    them. Also clarify an error message.

    Signed-off-by: Ingo Molnar <mingo <at> elte.hu>
---
 kernel/irq/numa_migrate.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/kernel/irq/numa_migrate.c b/kernel/irq/numa_migrate.c
index 089c374..a565ce3 100644
--- a/kernel/irq/numa_migrate.c
+++ b/kernel/irq/numa_migrate.c
 <at>  <at>  -74,10 +74,8  <at>  <at>  static struct irq_desc *__real_move_irq_desc(struct irq_desc *old_desc,

 	node = cpu_to_node(cpu);
 	desc = kzalloc_node(sizeof(*desc), GFP_ATOMIC, node);
-	printk(KERN_DEBUG "  move irq_desc for %d to cpu %d node %d\n",
-		 irq, cpu, node);
(Continue reading)

Linux Kernel Mailing List | 1 Jan 01:59 2009

proc: remove ifdef CONFIG_SPARSE_IRQ from stat.c

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=26ddd8d5cac8a563953d5febe8c6e40909f7bce1
Commit:     26ddd8d5cac8a563953d5febe8c6e40909f7bce1
Parent:     f9af0e70911e9d6cc9a68f784dca86415486084d
Author:     KOSAKI Motohiro <kosaki.motohiro <at> jp.fujitsu.com>
AuthorDate: Fri Dec 26 14:24:10 2008 +0900
Committer:  Ingo Molnar <mingo <at> elte.hu>
CommitDate: Fri Dec 26 09:48:18 2008 +0100

    proc: remove ifdef CONFIG_SPARSE_IRQ from stat.c

    Impact: cleanup

    irq_desc can be NULL when CONFIG_SPARSE_IRQ=y only.
    therefore, NULL checking can move into kstat_irqs_cpu() of SPARSE_IRQ version.

    Signed-off-by: KOSAKI Motohiro <kosaki.motohiro <at> jp.fujitsu.com>
    Acked-by: "Yinghai Lu" <yinghai <at> kernel.org>
    Signed-off-by: Ingo Molnar <mingo <at> elte.hu>
---
 fs/proc/stat.c      |   11 +----------
 kernel/irq/handle.c |    2 +-
 2 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/fs/proc/stat.c b/fs/proc/stat.c
index 3bb1cf1..f75efa2 100644
--- a/fs/proc/stat.c
+++ b/fs/proc/stat.c
 <at>  <at>  -9,6 +9,7  <at>  <at> 
 #include <linux/seq_file.h>
 #include <linux/slab.h>
(Continue reading)

Linux Kernel Mailing List | 1 Jan 01:59 2009

sparseirq: fix desc->lock init

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=793f7b12a0c95e7bfec1badf9628043fb78fd440
Commit:     793f7b12a0c95e7bfec1badf9628043fb78fd440
Parent:     8b07cd44511f3aa78dd912cca6493275a6787dc5
Author:     Ingo Molnar <mingo <at> elte.hu>
AuthorDate: Fri Dec 26 19:02:20 2008 +0100
Committer:  Ingo Molnar <mingo <at> elte.hu>
CommitDate: Sat Dec 27 09:29:22 2008 +0100

    sparseirq: fix desc->lock init

    Impact: cleanup

    init_one_irq_desc() does not initialize the desc->lock properly -
    you cannot init a lock by memcpying some other lock on it.

    This happens to work right now (because irq_desc_init is never in use),
    but it's a dangerous construct nevertheless, so fix it.

    Signed-off-by: Ingo Molnar <mingo <at> elte.hu>
---
 kernel/irq/handle.c       |    2 ++
 kernel/irq/numa_migrate.c |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index 06b05a4..893da67 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
 <at>  <at>  -93,6 +93,8  <at>  <at>  void __attribute__((weak)) arch_init_chip_data(struct irq_desc *desc, int cpu)
 static void init_one_irq_desc(int irq, struct irq_desc *desc, int cpu)
(Continue reading)


Gmane