Re: [patch 2/2] r/o bind mounts: Accept passing a mnt NULL pointer to mnt_drop_write()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jan Blunck <jblunck@...>
Cc: Linux-Kernel Mailinglist <linux-kernel@...>, Andrew Morton <akpm@...>, Christoph Hellwig <hch@...>
Date: Friday, October 12, 2007 - 12:10 pm

On Fri, 2007-10-12 at 17:50 +0200, Jan Blunck wrote:
...

I kinda wish we'd fix these in the callers.  I know we do something
similar to this with mntput(), but I worry a bit that this just
discourages people from using the right interfaces.

Do you have a case where we're actually getting a NULL mount in here?
We had at least one in reiser4 that really revealed some nastiness in
the fs that needed fixing.

-- Dave

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 2/2] r/o bind mounts: Accept passing a mnt NULL p..., Christoph Hellwig, (Sat Oct 13, 7:25 am)
Re: [patch 2/2] r/o bind mounts: Accept passing a mnt NULL p..., Dave Hansen, (Fri Oct 12, 12:10 pm)