• Emil Medve's avatar
    Fix a build error when BLOCK=n · 3a424f2d
    Emil Medve authored
    mm/filemap.c: In function '__filemap_fdatawrite_range':
    mm/filemap.c:200: error: implicit declaration of function
    'mapping_cap_writeback_dirty'
    
    This happens when we don't use/have any block devices and a NFS root
    filesystem is used.
    
    mapping_cap_writeback_dirty() is defined in linux/backing-dev.h which
    used to be provided in mm/filemap.c by linux/blkdev.h until commit
    f5ff8422 (Fix warnings with
    !CONFIG_BLOCK).
    Signed-off-by: default avatarEmil Medve <Emilian.Medve@Freescale.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    3a424f2d
filemap.c 67.6 KB