[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090626201829.GA25976@redhat.com>
Date: Fri, 26 Jun 2009 22:18:29 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Neil Horman <nhorman@...driver.com>
Cc: linux-kernel@...r.kernel.org, earl_chew@...lent.com,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Andi Kleen <andi@...stfloor.org>,
Roland McGrath <roland@...hat.com>
Subject: Q: do_coredump() && d_unhashed()
On 06/26, Oleg Nesterov wrote:
>
> do_coredump() does a lot of file checks which are only needed when !ispipe,
I wonder why do we check d_unhashed() after filp_open() ?
Also, we are doing filp_open(O_CREAT | 2 | O_NOFOLLOW | O_LARGEFILE), this
2 == O_RDWR looks very strange.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists