Home
last modified time | relevance | path

Searched hist:"82 dd124c40b8cda710878b88fb0182301c040ffe" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dmballoc.cdiff 82dd124c40b8cda710878b88fb0182301c040ffe Sun Feb 10 22:04:16 CST 2019 Nikolay Borisov <nborisov@suse.com> 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>
H A Dinode.cdiff 82dd124c40b8cda710878b88fb0182301c040ffe Sun Feb 10 22:04:16 CST 2019 Nikolay Borisov <nborisov@suse.com> 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>