Al Viro
59e96e6583
do_last(): don't bother with keeping got_write in FMODE_OPENED case
...
it's easier to drop it right after lookup_open() and regain if
needed (i.e. if we will need to truncate). On the non-FMODE_OPENED
path we do that anyway. In case of FMODE_CREATED we won't be
needing it. And it's easier to prove correctness that way,
especially since the initial failure to get write access is not
always fatal; proving that we'll never end up truncating in that
case is rather convoluted.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2020-03-13 21:09:12 -04:00
..
2019-09-27 15:10:34 -07:00
2020-01-25 11:31:59 -05:00
2019-11-18 14:26:43 +01:00
2020-02-08 13:26:41 -08:00
2020-03-13 21:08:17 -04:00
2019-08-30 07:27:17 -07:00
2019-08-30 07:27:17 -07:00
2020-02-03 17:03:42 +00:00
2020-02-03 08:05:56 -05:00
2020-02-08 13:26:41 -08:00
2020-02-09 13:27:17 -08:00
2019-09-19 09:42:37 -07:00
2019-12-08 19:10:50 -05:00
2020-02-07 14:48:41 -05:00
2020-01-22 14:50:03 -08:00
2020-02-05 05:09:46 +00:00
2019-09-03 09:30:56 -04:00
2019-12-18 18:07:31 +01:00
2020-02-08 13:04:49 -08:00
2019-07-19 10:42:02 -07:00
2019-08-30 07:27:17 -07:00
2020-01-21 16:46:23 +08:00
2019-11-11 09:21:59 -05:00
2020-01-06 10:09:35 +01:00
2020-02-04 03:05:27 +00:00
2020-02-08 13:04:49 -08:00
2020-02-05 05:02:42 +00:00
2019-08-30 07:27:17 -07:00
2020-02-04 03:05:26 +00:00
2020-02-08 13:26:41 -08:00
2020-02-08 13:26:41 -08:00
2019-12-18 18:07:32 +01:00
2019-12-18 18:07:32 +01:00
2019-12-18 18:07:32 +01:00
2019-10-23 17:23:46 +02:00
2020-02-07 14:48:42 -05:00
2020-01-06 08:58:23 -08:00
2019-09-19 09:42:37 -07:00
2020-02-08 13:04:49 -08:00
2020-02-07 14:48:37 -05:00
2020-02-05 05:28:20 +00:00
2020-02-05 05:02:42 +00:00
2020-02-04 03:05:26 +00:00
2019-08-30 07:27:17 -07:00
2020-02-08 13:26:41 -08:00
2020-02-07 17:50:21 -08:00
2019-10-23 17:23:46 +02:00
2019-12-18 00:03:01 -05:00
2019-12-08 19:10:50 -05:00
2020-02-04 03:05:27 +00:00
2019-08-30 08:11:25 -07:00
2019-07-19 10:42:02 -07:00
2020-02-04 15:22:04 -05:00
2020-02-03 11:41:53 +01:00
2020-02-08 13:26:41 -08:00
2020-01-08 17:05:45 -08:00
2019-08-30 07:27:17 -07:00
2019-08-30 07:27:17 -07:00
2020-01-30 15:37:41 -08:00
2020-02-07 14:48:37 -05:00
2020-01-31 12:16:36 -08:00
2019-09-19 10:06:57 -07:00
2019-09-19 10:06:57 -07:00
2020-02-04 03:05:27 +00:00
2019-08-30 07:27:18 -07:00
2019-12-10 22:29:58 -05:00
2020-02-05 05:02:42 +00:00
2020-01-20 13:59:41 +01:00
2019-09-19 09:42:37 -07:00
2020-02-04 01:53:07 +09:00
2020-02-08 17:34:58 -05:00
2020-01-14 13:28:28 -08:00
2020-02-08 13:26:41 -08:00
2020-02-07 14:39:38 +09:00
2020-02-03 17:27:47 -07:00
2019-07-19 10:42:02 -07:00
2019-12-08 19:10:50 -05:00
2019-11-15 14:38:29 +01:00
2020-01-31 10:30:41 -08:00
2019-07-16 19:23:22 -07:00
2019-07-19 10:42:02 -07:00
2019-12-02 18:49:30 -07:00
2020-01-24 20:40:09 +01:00
2020-01-06 20:10:26 +01:00
2019-11-15 14:38:29 +01:00
2020-02-08 11:39:19 -08:00
2019-08-30 19:31:09 -04:00
2019-11-30 10:44:49 -08:00
2019-12-08 11:08:28 -08:00
2020-01-04 13:55:09 -08:00
2019-12-18 00:03:01 -05:00
2020-02-03 17:27:38 -07:00
2020-01-29 15:45:47 -07:00
2020-01-31 12:16:36 -08:00
2019-12-08 11:08:28 -08:00
2019-08-07 21:51:47 -04:00
2019-08-19 11:00:39 -04:00
2020-01-29 19:38:34 -08:00
2020-02-07 14:48:36 -05:00
2020-02-07 14:48:35 -05:00
2020-02-07 14:48:38 -05:00
2019-07-16 22:52:37 -04:00
2020-01-31 10:30:36 -08:00
2020-02-07 14:48:35 -05:00
2020-02-08 13:04:49 -08:00
2020-03-13 21:08:17 -04:00
2020-02-06 06:33:17 +00:00
2020-01-29 13:46:44 -07:00
2020-01-29 13:46:44 -07:00
2020-02-08 13:44:41 -08:00
2020-02-09 15:51:46 -08:00
2019-12-10 22:29:58 -05:00
2019-12-29 09:00:58 -05:00
2020-02-09 15:51:46 -08:00
2019-07-16 22:52:37 -04:00
2020-01-09 08:16:12 -07:00
2020-03-13 21:09:12 -04:00
2020-03-13 21:08:17 -04:00
2020-01-29 11:20:24 -08:00
2020-02-27 14:43:56 -05:00
2020-02-08 11:39:19 -08:00
2020-01-04 13:55:09 -08:00
2019-09-06 21:28:49 +02:00
2020-02-04 11:45:21 +00:00
2020-01-23 10:15:28 -08:00
2019-11-15 14:38:29 +01:00
2019-08-13 16:06:52 -07:00
2020-02-08 11:39:19 -08:00
2019-12-08 14:37:36 +01:00
2020-01-20 17:03:54 -07:00
2019-10-03 14:21:35 -07:00
2019-12-18 00:03:01 -05:00
2020-01-14 12:20:53 +01:00
2019-12-01 20:36:41 -08:00
2019-12-08 19:10:50 -05:00