David Howells
be34d1a3bc
VFS: Make clone_mnt()/copy_tree()/collect_mounts() return errors
...
copy_tree() can theoretically fail in a case other than ENOMEM, but always
returns NULL which is interpreted by callers as -ENOMEM. Change it to return
an explicit error.
Also change clone_mnt() for consistency and because union mounts will add new
error cases.
Thanks to Andreas Gruenbacher <agruen@suse.de> for a bug fix.
[AV: folded braino fix by Dan Carpenter]
Original-author: Valerie Aurora <vaurora@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Valerie Aurora <valerie.aurora@gmail.com>
Cc: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-07-14 16:37:27 +04:00
..
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:50 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:35:30 +04:00
2012-05-15 14:59:26 -07:00
2012-05-15 10:39:28 -05:00
2012-07-14 16:34:50 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:32:55 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-05-15 23:34:37 +02:00
2012-06-01 00:10:32 -04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-06-01 08:32:58 -07:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:50 +04:00
2012-07-14 16:34:47 +04:00
2012-06-01 19:51:22 -07:00
2012-07-14 16:32:55 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:35:40 +04:00
2012-06-20 15:15:03 -07:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-05-15 23:34:39 +02:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:35:12 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-06-01 10:34:35 -07:00
2012-03-20 21:29:45 -04:00
2012-07-14 16:35:42 +04:00
2012-07-14 16:34:47 +04:00
2012-04-20 17:29:13 -07:00
2012-05-23 17:42:39 -07:00
2012-05-30 21:04:55 -04:00
2012-03-20 21:29:46 -04:00
2012-05-30 21:04:56 -04:00
2012-05-06 13:43:41 +08:00
2012-03-20 21:29:46 -04:00
2012-04-20 17:29:13 -07:00
2012-03-20 21:48:21 +08:00
2012-05-30 08:52:42 -07:00
2012-05-28 09:54:45 -07:00
2012-07-13 08:36:35 -07:00
2011-12-13 11:18:17 -08:00
2012-03-24 10:24:31 -07:00
2012-06-01 11:53:44 -07:00
2012-07-14 16:35:15 +04:00
2012-02-28 19:31:58 -05:00
2012-07-14 16:32:46 +04:00
2012-05-31 17:49:32 -07:00
2012-06-01 12:58:46 -04:00
2012-06-20 14:39:36 -07:00
2012-05-29 23:28:30 -04:00
2012-01-06 23:16:53 -05:00
2012-07-14 16:35:46 +04:00
2012-03-29 18:12:23 -07:00
2012-01-03 22:52:39 -05:00
2012-07-14 16:32:47 +04:00
2012-06-09 08:32:15 +09:00
2012-07-14 16:32:55 +04:00
2012-07-14 16:33:39 +04:00
2012-02-28 19:31:58 -05:00
2012-05-30 08:52:42 -07:00
2012-03-21 13:36:41 -07:00
2012-05-15 09:17:34 -04:00
2012-07-14 16:34:32 +04:00
2012-07-13 10:50:23 -07:00
2012-03-20 21:29:38 -04:00
2012-07-14 16:32:48 +04:00
2012-02-28 19:31:58 -05:00
2012-07-14 16:35:40 +04:00
2012-07-14 16:37:27 +04:00
2012-07-14 16:35:54 +04:00
2012-06-01 12:07:25 -04:00
2012-07-14 16:37:27 +04:00
2012-01-03 22:57:11 -05:00
2012-02-28 19:31:58 -05:00
2012-07-14 16:32:48 +04:00
2012-05-31 17:49:32 -07:00
2012-05-29 23:28:29 -04:00
2012-06-01 12:58:46 -04:00
2012-03-24 10:24:31 -07:00
2012-05-29 23:28:30 -04:00
2012-06-13 21:16:42 +02:00
2012-02-28 19:31:58 -05:00
2012-05-23 17:42:39 -07:00
2012-05-29 23:28:31 -04:00
2012-03-24 10:24:31 -07:00
2012-05-29 23:28:29 -04:00
2012-05-29 23:28:32 -04:00
2012-02-28 19:31:58 -05:00
2012-05-29 23:28:30 -04:00