diff options
author | Jan Kara <jack@suse.cz> | 2017-08-24 11:52:21 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-08-24 11:52:21 -0400 |
commit | 4f9d956d1939f97e2cb278b9615b6c683cd90e97 (patch) | |
tree | b5dcabfa8a15252ab29d6a3bbac7040ea8ddb7df /fs/hpfs/name.c | |
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>
Diffstat (limited to 'fs/hpfs/name.c')
0 files changed, 0 insertions, 0 deletions