[2.6 patch] adfs: remove a kernel 2.2 #ifdef

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 02/08/04

  • Next message: Adrian Bunk: "[patch] serialP.h: remove a kernel 2.2 #ifdef"
    Date:	Sun, 8 Feb 2004 02:24:41 +0100
    To: Andrew Morton <akpm@osdl.org>
    
    

    The patch below removes a kernel 2.2 #ifdef from fs/adfs/adfs.h .

    Note that this #ifdef was only present in the header, the implementation
    of adfs_bmap was already removed.

    Please apply
    Adrian

    --- linux-2.6.2-mm1/fs/adfs/adfs.h.old 2004-02-08 02:20:03.000000000 +0100
    +++ linux-2.6.2-mm1/fs/adfs/adfs.h 2004-02-08 02:20:38.000000000 +0100
    @@ -68,12 +68,8 @@
     
     
     /* Inode stuff */
    -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
     int adfs_get_block(struct inode *inode, sector_t block,
                        struct buffer_head *bh, int create);
    -#else
    -int adfs_bmap(struct inode *inode, int block);
    -#endif
     struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
     void adfs_read_inode(struct inode *inode);
     void adfs_write_inode(struct inode *inode,int unused);
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Adrian Bunk: "[patch] serialP.h: remove a kernel 2.2 #ifdef"

    Relevant Pages