Skip to content
  • Ingo Molnar's avatar
    Fix compile brekage with !CONFIG_BLOCK · b31d42a5
    Ingo Molnar authored
    Today's git tree fails to build on !CONFIG_BLOCK, due to upstream commit
    367a51a3
    
     ("fs: Add FITRIM ioctl"):
    
     include/linux/fs.h:36: error: expected specifier-qualifier-list before ‘uint64_t’
     include/linux/fs.h:36: error: expected specifier-qualifier-list before ‘uint64_t’
     include/linux/fs.h:36: error: expected specifier-qualifier-list before ‘uint64_t’
    
    The commit adds uint64_t type usage to fs.h, but linux/types.h is not included
    explicitly - it's only included implicitly via linux/blk_types.h, and there only if
    CONFIG_BLOCK is enabled.
    
    Add the explicit #include to fix this.
    
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b31d42a5