diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-07 21:03:48 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-17 03:52:13 +0300 |
commit | 3abb28e275bfbe60136db37eae6679c3e1928cd5 (patch) | |
tree | adf821b3c695ef24657260198778ec956a7e4c63 /include/linux/byteorder/generic.h | |
parent | 3fe7fa5843d204e235d92902190fecb972a3f9cc (diff) | |
download | linux-3abb28e275bfbe60136db37eae6679c3e1928cd5.tar.xz |
filemap: Use folio_put_refs() in filemap_free_folio()
This shrinks filemap_free_folio() by 55 bytes in my .config; 24 bytes
from removing the VM_BUG_ON_FOLIO() and 31 bytes from unifying the
small/large folio paths.
We could just use folio_ref_sub() here since the caller should hold a
reference (as the VM_BUG_ON_FOLIO() was asserting), but that's fragile.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'include/linux/byteorder/generic.h')
0 files changed, 0 insertions, 0 deletions