소스 검색

jfs: agstart field must be 64 bits

The previous patch added the agstart field to jfs_ip, but declared
it a long.  We need to make sure its 64 bits on every platform.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Dave Kleikamp 14 년 전
부모
커밋
ecc90462b4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fs/jfs/jfs_incore.h

+ 1 - 1
fs/jfs/jfs_incore.h

@@ -50,7 +50,7 @@ struct jfs_inode_info {
 	short	btindex;	/* btpage entry index*/
 	short	btindex;	/* btpage entry index*/
 	struct inode *ipimap;	/* inode map			*/
 	struct inode *ipimap;	/* inode map			*/
 	unsigned long cflag;	/* commit flags		*/
 	unsigned long cflag;	/* commit flags		*/
-	long	agstart;	/* agstart of the containing IAG */
+	u64	agstart;	/* agstart of the containing IAG */
 	u16	bxflag;		/* xflag of pseudo buffer?	*/
 	u16	bxflag;		/* xflag of pseudo buffer?	*/
 	unchar	pad;
 	unchar	pad;
 	signed char active_ag;	/* ag currently allocating from	*/
 	signed char active_ag;	/* ag currently allocating from	*/