summaryrefslogtreecommitdiff
path: root/fs/ext4/mmp.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-08-24 11:52:21 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-08-24 11:52:21 -0400
commit4f9d956d1939f97e2cb278b9615b6c683cd90e97 (patch)
treeb5dcabfa8a15252ab29d6a3bbac7040ea8ddb7df /fs/ext4/mmp.c
parent32aaf194201e98db4235b7b71ac62a22e2ac355f (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/ext4/mmp.c')
0 files changed, 0 insertions, 0 deletions