Eric Biggers
c41d342b39
ext4: remove redundant check for encrypted file on dio write path
...
Currently we don't allow direct I/O on encrypted regular files, so in
such cases we return 0 early in ext4_direct_IO(). There was also an
additional BUG_ON() check in ext4_direct_IO_write(), but it can never be
hit because of the earlier check for the exact same condition in
ext4_direct_IO(). There was also no matching check on the read path,
which made the write path specific check seem very ad-hoc.
Just remove the unnecessary BUG_ON().
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: David Gstir <david@sigma-star.at>
Reviewed-by: Jan Kara <jack@suse.cz>
2017-05-24 18:20:31 -04:00
..
2017-04-20 12:09:55 -06:00
2017-05-05 15:24:52 -04:00
2017-05-02 16:40:27 -07:00
2017-03-28 16:16:52 +02:00
2017-05-05 11:35:35 +01:00
2017-05-12 15:57:15 -07:00
2017-05-10 08:33:17 -07:00
2017-03-02 08:42:31 +01:00
2017-05-10 08:42:33 -07:00
2017-05-12 20:59:10 -05:00
2017-04-20 12:09:55 -06:00
2016-12-24 11:46:01 -08:00
2017-05-04 11:44:37 -04:00
2017-04-26 23:54:06 -04:00
2017-03-09 18:23:27 -08:00
2017-04-20 12:09:55 -06:00
2016-12-24 11:46:01 -08:00
2017-05-08 17:15:14 -07:00
2017-03-03 11:38:56 -08:00
2017-05-13 17:52:16 -07:00
2017-05-24 18:20:31 -04:00
2017-05-08 18:17:56 -07:00
2017-03-09 17:01:10 -08:00
2017-03-02 10:09:00 +11:00
2017-05-20 16:12:30 -07:00
2017-05-08 17:15:15 -07:00
2017-05-08 17:15:14 -07:00
2017-05-08 17:15:14 -07:00
2016-12-09 16:45:04 +01:00
2017-03-02 08:42:32 +01:00
2017-04-13 18:24:21 -07:00
2017-03-02 08:42:31 +01:00
2017-05-21 22:32:23 -04:00
2017-04-19 11:35:55 -07:00
2017-04-19 14:21:23 +02:00
2017-03-17 10:25:59 +09:00
2017-05-10 13:29:23 -07:00
2017-03-02 20:51:15 -05:00
2017-04-20 12:09:55 -06:00
2017-05-10 13:29:23 -07:00
2017-05-10 13:29:23 -07:00
2017-04-20 12:09:55 -06:00
2017-04-25 15:48:06 +02:00
2017-03-02 08:42:32 +01:00
2017-05-03 15:52:07 -07:00
2017-03-02 08:42:31 +01:00
2016-12-24 11:46:01 -08:00
2017-05-05 13:36:10 -07:00
2017-05-10 09:03:48 -07:00
2017-05-09 08:45:16 -07:00
2017-05-10 19:13:03 -07:00
2017-04-19 14:21:23 +02:00
2016-12-24 11:46:01 -08:00
2017-05-08 17:15:11 -07:00
2017-01-24 16:26:14 -08:00
2017-02-24 17:46:57 -08:00
2017-04-08 17:33:32 +02:00
2017-03-02 20:51:15 -05:00
2017-04-26 23:54:06 -04:00
2017-05-13 10:23:12 -07:00
2017-04-24 16:28:02 +02:00
2017-05-08 17:15:15 -07:00
2017-05-13 17:52:16 -07:00
2017-03-03 10:16:38 -08:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:29 +01:00
2017-03-02 20:51:15 -05:00
2017-03-02 08:42:36 +01:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:36 +01:00
2017-04-26 23:54:06 -04:00
2017-05-12 15:43:10 -07:00
2017-05-09 09:12:53 -07:00
2017-03-21 06:44:32 +01:00
2017-02-01 09:13:51 +01:00
2017-04-29 17:47:19 -04:00
2017-04-17 12:52:27 -04:00
2017-03-02 08:42:36 +01:00
2017-05-13 09:49:35 -07:00
2017-05-03 11:47:05 -04:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:46 -08:00
2017-03-02 08:42:32 +01:00
2017-03-24 20:49:31 -07:00
2017-03-20 16:10:34 +01:00
2017-05-09 09:12:53 -07:00
2017-04-17 12:52:26 -04:00
2017-03-02 08:42:31 +01:00
2017-05-08 17:15:13 -07:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:35 +01:00
2017-03-13 08:27:34 -06:00
2017-05-09 09:12:53 -07:00
2017-05-09 09:12:53 -07:00
2017-03-02 08:42:37 +01:00
2017-05-08 17:15:14 -07:00
2017-05-08 10:55:27 -07:00
2017-04-26 23:54:06 -04:00
2017-04-21 10:45:01 -04:00
2016-12-14 23:48:11 -05:00
2016-12-03 15:55:01 -05:00
2017-04-10 17:37:35 +02:00
2017-02-27 18:43:46 -08:00
2017-05-12 11:39:59 -07:00
2017-05-12 11:39:59 -07:00
2017-05-08 17:15:12 -07:00
2017-05-12 11:39:59 -07:00
2016-12-24 11:46:01 -08:00
2017-02-04 00:01:06 +13:00
2017-02-04 00:01:06 +13:00
2017-03-02 08:42:31 +01:00
2017-03-02 08:42:38 +01:00
2017-04-17 12:52:26 -04:00
2017-04-17 12:52:24 -04:00
2017-05-08 17:15:13 -07:00
2017-05-08 17:15:12 -07:00
2017-04-18 11:42:36 -07:00
2017-05-02 11:38:06 -07:00
2017-05-02 11:54:26 -07:00
2017-04-17 12:52:23 -04:00
2017-04-20 12:09:55 -06:00
2017-02-20 16:51:23 +01:00
2017-03-01 12:53:44 +01:00
2017-04-08 00:47:48 -07:00
2017-04-17 12:52:23 -04:00
2017-05-08 17:15:13 -07:00