• Christoph Hellwig's avatar
    cleanup __writeback_single_inode · 01c03194
    Christoph Hellwig authored
    There is no reason to for the split between __writeback_single_inode and
    __sync_single_inode, the former just does a couple of checks before
    tail-calling the latter.  So merge the two, and while we're at it split
    out the I_SYNC waiting case for data integrity writers, as it's
    logically separate function.  Finally rename __writeback_single_inode to
    writeback_single_inode.
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    01c03194
fs-writeback.c 22 KB