commit | 4f9d956d1939f97e2cb278b9615b6c683cd90e97 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu Aug 24 11:52:21 2017 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Aug 24 11:52:21 2017 -0400 |
tree | b5dcabfa8a15252ab29d6a3bbac7040ea8ddb7df | |
parent | 32aaf194201e98db4235b7b71ac62a22e2ac355f [diff] |
ext4: do not unnecessarily allocate buffer in recently_deleted() In recently_deleted() function we want to check whether inode is still cached in buffer cache. Use sb_find_get_block() for that instead of sb_getblk() to avoid unnecessary allocation of bdev page and buffer heads. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>