public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* missing mnt_drop_write() on open error
@ 2007-09-25 23:14 Miklos Szeredi
  2007-09-25 23:24 ` Dave Hansen
  2007-09-26  1:21 ` Dave Hansen
  0 siblings, 2 replies; 10+ messages in thread
From: Miklos Szeredi @ 2007-09-25 23:14 UTC (permalink / raw)
  To: haveblue; +Cc: akpm, linux-kernel

I get this at umount, if there was a failed open():

WARNING: at fs/namespace.c:586 __mntput()

I think the problem is that may_open() calls mnt_want_write(), but if
open doesn't succeed, mnt_drop_write() will not be called.

Miklos

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-09-26 18:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25 23:14 missing mnt_drop_write() on open error Miklos Szeredi
2007-09-25 23:24 ` Dave Hansen
2007-09-26  1:21 ` Dave Hansen
2007-09-26  8:38   ` Miklos Szeredi
2007-09-26 15:07     ` Christoph Hellwig
2007-09-26 16:14     ` Dave Hansen
2007-09-26 16:19     ` Dave Hansen
2007-09-26 17:50       ` Miklos Szeredi
2007-09-26 18:08         ` Dave Hansen
2007-09-26 18:54           ` Miklos Szeredi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox