Sage Weil
62b2ce964b
vfs: fix propagation of atomic_open create error on negative dentry
...
If ->atomic_open() returns -ENOENT, we take care to return the create
error (e.g., EACCES), if any. Do the same when ->atomic_open() returns 1
and provides a negative dentry.
This fixes a regression where an unprivileged open O_CREAT fails with
ENOENT instead of EACCES, introduced with the new atomic_open code. It
is tested by the open/08.t test in the pjd posix test suite, and was
observed on top of fuse (backed by ceph-fuse).
Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2012-08-16 19:29:09 +02:00
..
2012-07-31 01:02:46 +04:00
2012-07-14 16:34:32 +04:00
2012-07-30 17:25:16 -07:00
2012-07-14 16:38:34 +04:00
2012-07-23 00:01:29 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:47 +04:00
2012-08-12 21:28:41 +03:00
2012-07-30 17:25:21 -07:00
2012-08-02 09:11:19 -07:00
2012-07-27 15:17:50 -05: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-26 11:25:33 -07:00
2012-07-14 16:38:34 +04:00
2012-07-16 14:24:43 -05:00
2012-08-02 10:56:34 -07:00
2012-07-14 16:34:32 +04:00
2012-08-03 13:24:07 -07:00
2012-07-23 00:01:29 +04:00
2012-08-01 10:26:23 -07:00
2012-08-04 12:15:32 +04:00
2012-08-04 12:15:34 +04:00
2012-08-01 10:26:23 -07:00
2012-07-14 16:34:32 +04:00
2012-08-15 13:01:24 +02:00
2012-08-04 12:15:40 +04:00
2012-08-04 12:15:38 +04:00
2012-07-30 17:25:19 -07:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:47 +04:00
2012-07-23 00:01:29 +04:00
2012-07-31 18:42:40 -07:00
2012-07-24 17:40:44 -07:00
2012-08-04 12:15:36 +04:00
2012-08-04 12:15:36 +04:00
2012-07-23 00:00:58 +04:00
2012-07-23 00:00:58 +04:00
2012-08-01 10:26:23 -07:00
2012-07-14 16:38:34 +04:00
2012-07-30 17:25:19 -07:00
2012-07-14 16:34:47 +04:00
2012-07-31 19:25:39 -07:00
2012-08-01 10:26:23 -07:00
2012-08-04 12:15:38 +04:00
2012-06-01 19:51:22 -07:00
2012-07-23 00:01:29 +04:00
2012-08-01 10:26:23 -07:00
2012-08-01 10:26:23 -07:00
2012-07-14 16:34:47 +04:00
2012-07-14 16:34:32 +04:00
2012-07-30 17:25:20 -07:00
2012-07-17 16:48:09 -07:00
2012-07-30 17:25:16 -07:00
2012-07-14 16:34:32 +04:00
2012-07-24 17:40:44 -07:00
2012-07-14 16:34:47 +04:00
2012-07-23 00:00:58 +04:00
2012-07-14 16:34:32 +04:00
2012-07-14 16:34:32 +04:00
2012-08-01 10:26:23 -07:00
2012-07-22 23:58:12 +04:00
2012-08-04 12:15:41 +04:00
2012-07-24 17:40:44 -07:00
2012-07-22 23:58:16 +04:00
2012-08-01 10:26:23 -07:00
2012-07-22 23:57:59 +04: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-08-04 12:15:37 +04:00
2012-07-22 23:58:45 +04:00
2012-07-31 09:45:47 +04: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-07-17 21:37:27 +02:00
2012-08-01 10:26:23 -07:00
2012-07-30 17:25:21 -07:00
2012-07-16 08:33:14 -07:00
2012-07-31 09:40:38 +04:00
2012-03-29 18:12:23 -07:00
2012-07-14 16:32:47 +04:00
2012-07-31 18:42:40 -07:00
2012-08-01 10:26:23 -07:00
2012-07-31 09:40:38 +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:38:34 +04:00
2012-08-01 09:01:46 -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-08-16 19:29:09 +02:00
2012-07-31 09:40:38 +04:00
2012-08-15 13:01:24 +02:00
2012-08-01 10:26:23 -07:00
2012-07-14 16:37:27 +04:00
2012-02-28 19:31:58 -05:00
2012-07-14 16:32:48 +04:00
2012-07-23 00:00:15 +04:00
2012-05-29 23:28:29 -04:00
2012-07-26 13:36:43 -07:00
2012-06-11 13:16:35 +01:00
2012-05-29 23:28:30 -04:00
2012-07-31 09:45:47 +04: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-08-04 01:24:44 +04:00
2012-07-22 23:59:01 +04:00
2012-05-29 23:28:32 -04:00
2012-02-28 19:31:58 -05:00
2012-07-30 17:25:11 -07:00