[PATCH 0/4] Make folio_start_writeback return void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Most of the folio flag-setting functions return void.
folio_start_writeback is gratuitously different; the only two filesystems
that do anything with the return value emit debug messages if it's already
set, and we can (and should) do that internally without bothering the
filesystem to do it.

Matthew Wilcox (Oracle) (4):
  mm: Remove test_set_page_writeback()
  afs: Do not test the return value of folio_start_writeback()
  smb: Do not test the return value of folio_start_writeback()
  mm: Return void from folio_start_writeback() and related functions

 fs/afs/write.c             |  6 ++---
 fs/smb/client/file.c       |  6 ++---
 include/linux/page-flags.h |  9 ++-----
 mm/folio-compat.c          |  4 +--
 mm/page-writeback.c        | 54 ++++++++++++++++++--------------------
 5 files changed, 33 insertions(+), 46 deletions(-)

-- 
2.42.0





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux