Nikolay Borisov
82dd124c40
ext4: replace opencoded i_writecount usage with inode_is_open_for_write()
...
There is a function which clearly conveys the objective of checking
i_writecount. Additionally the usage in ext4_mb_initialize_context was
wrong, since a node would have wrongfully been reported as writable if
i_writecount had a negative value (MMAP_DENY_WRITE).
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
2019-02-10 23:04:16 -05:00
..
2018-12-10 00:22:38 -05:00
2017-12-17 22:00:59 -05:00
2018-08-01 12:02:31 -04:00
2017-11-02 11:10:55 +01:00
2018-01-11 13:17:49 -05:00
2018-08-27 09:22:45 -04:00
2018-10-01 14:25:08 -04:00
2018-02-18 22:07:36 -05:00
2017-12-17 22:00:59 -05:00
2018-12-19 12:29:13 -05:00
2018-10-01 14:33:24 -04:00
2018-10-01 14:24:08 -04:00
2018-10-01 14:25:08 -04:00
2018-08-17 16:20:27 -07:00
2018-05-10 11:50:04 -04:00
2017-12-17 22:00:59 -05:00
2019-01-31 23:41:11 -05:00
2017-12-17 22:00:59 -05:00
2018-12-19 12:29:13 -05:00
2018-05-12 19:55:00 -04:00
2018-12-25 00:56:33 -05:00
2019-02-10 23:04:16 -05:00
2018-12-19 12:29:13 -05:00
2018-01-01 12:45:37 -07:00
2017-11-02 11:10:55 +01:00
2019-02-10 23:04:16 -05:00
2017-12-17 22:00:59 -05:00
2018-12-04 00:16:44 -05:00
2018-09-15 17:11:25 -04:00
2018-10-02 01:34:44 -04:00
2018-12-19 12:29:13 -05:00
2018-12-07 22:26:37 -07:00
2019-01-04 13:13:48 -08:00
2018-12-19 12:29:13 -05:00
2018-12-30 23:20:39 -05:00
2018-01-11 22:10:40 -05:00
2018-08-14 10:23:25 -07:00
2018-07-29 17:00:22 -04:00
2018-05-10 11:52:14 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-19 12:29:13 -05:00
2018-03-30 20:04:11 -04:00