Dave Hansen
ad775f5a8f
[PATCH] r/o bind mounts: debugging for missed calls
...
There have been a few oopses caused by 'struct file's with NULL f_vfsmnts.
There was also a set of potentially missed mnt_want_write()s from
dentry_open() calls.
This patch provides a very simple debugging framework to catch these kinds of
bugs. It will WARN_ON() them, but should stop us from having any oopses or
mnt_writer count imbalances.
I'm quite convinced that this is a good thing because it found bugs in the
stuff I was working on as soon as I wrote it.
[hch: made it conditional on a debug option.
But it's still a little bit too ugly]
[hch: merged forced remount r/o fix from Dave and akpm's fix for the fix]
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2008-04-19 00:29:28 -04:00
..
2008-04-10 15:34:05 -07:00
2007-10-20 22:30:54 +01:00
2008-02-03 17:48:52 +02:00
2007-10-11 22:17:20 -07:00
2005-10-18 08:26:15 -07:00
2007-10-20 00:26:10 +02:00
2007-05-11 05:38:25 -04:00
2007-11-05 15:12:32 -08:00
2006-12-10 10:07:52 -08:00
2007-07-16 09:05:51 -07:00
2007-10-17 08:42:56 -07:00
2007-07-16 09:05:50 -07:00
2007-02-11 10:51:32 -08:00
2007-05-07 12:12:51 -07:00
2007-07-17 10:23:04 -07:00
2006-06-25 10:01:20 -07:00
2008-02-03 17:48:52 +02:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:20 -07:00
2007-05-10 18:24:13 +02:00
2005-04-16 15:20:36 -07:00
2006-07-03 15:27:01 -07:00
2006-01-08 20:13:48 -08:00
2008-03-17 08:26:44 -04:00
2007-04-25 22:28:53 -07:00
2005-04-16 15:20:36 -07:00
2008-02-06 10:41:08 -08:00
2008-02-08 09:22:34 -08:00
2008-01-28 23:58:27 -05:00
2005-04-16 15:20:36 -07:00
2007-07-17 10:23:02 -07:00
2005-04-16 15:20:36 -07:00
2007-11-29 09:24:53 -08:00
2007-10-19 11:53:41 -07:00
2007-10-17 08:42:45 -07:00
2007-05-02 19:27:15 +02:00
2006-02-03 08:32:08 -08:00
2006-06-20 20:24:58 -07:00
2008-03-24 11:22:39 -07:00
2008-03-04 16:35:17 -08:00
2007-10-17 08:42:50 -07:00
2006-10-06 08:53:40 -07:00
2007-07-31 15:39:39 -07:00
2007-08-22 19:52:45 -07:00
2008-04-19 00:29:28 -04:00
2008-04-17 20:05:43 +02:00
2008-04-17 10:42:27 -04:00
2006-09-25 21:08:40 -07:00
2008-04-03 14:33:42 -07:00
2008-03-04 14:47:05 -08:00
2008-01-24 20:40:05 -08:00
2007-11-08 21:34:09 +08:00
2006-12-07 08:39:35 -08:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-12-07 08:39:43 -08:00
2008-04-18 18:02:35 -07:00
2007-05-03 03:10:39 -07:00
2007-10-19 11:53:44 -07:00
2006-06-27 17:32:46 -07:00
2007-10-19 11:53:41 -07:00
2005-04-16 15:20:36 -07:00
2007-12-23 12:54:37 -08:00
2008-02-05 09:44:17 -08:00
2008-04-03 14:07:02 -07:00
2006-09-30 20:26:56 +02:00
2006-12-13 09:05:49 -08:00
2008-02-08 09:22:31 -08:00
2008-01-30 13:33:00 +01:00
2008-04-07 12:15:45 -05:00
2007-02-11 10:51:32 -08:00
2008-02-06 10:41:09 -08:00
2007-10-17 08:42:52 -07:00
2007-10-19 11:53:43 -07:00
2007-04-26 01:54:39 -07:00
2008-03-13 13:15:52 -07:00
2007-12-01 00:03:52 +11:00
2006-08-22 14:33:58 -07:00
2006-09-29 09:18:23 -07:00
2006-06-30 19:25:36 +02:00
2008-02-23 17:12:14 -08:00