Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ext2fs check correct inode extents flag - IN_E4EXTEN...



details:   https://anonhg.NetBSD.org/src/rev/7d3e64b89dcd
branches:  trunk
changeset: 817243:7d3e64b89dcd
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Aug 14 11:25:36 2016 +0000

description:
check correct inode extents flag - IN_E4EXTENTS is defined as 0x8000, correct flag EXT2_EXTENTS is 0x80000

diffstat:

 sys/ufs/ext2fs/ext2fs_bmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9c1031885ee0 -r 7d3e64b89dcd sys/ufs/ext2fs/ext2fs_bmap.c
--- a/sys/ufs/ext2fs/ext2fs_bmap.c      Sun Aug 14 11:03:21 2016 +0000
+++ b/sys/ufs/ext2fs/ext2fs_bmap.c      Sun Aug 14 11:25:36 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ext2fs_bmap.c,v 1.28 2016/08/13 07:40:10 christos Exp $        */
+/*     $NetBSD: ext2fs_bmap.c,v 1.29 2016/08/14 11:25:36 jdolecek Exp $        */
 
 /*
  * Copyright (c) 1989, 1991, 1993
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ext2fs_bmap.c,v 1.28 2016/08/13 07:40:10 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ext2fs_bmap.c,v 1.29 2016/08/14 11:25:36 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -116,7 +116,7 @@
                return 0;
        
        
-       if (VTOI(ap->a_vp)->i_din.e2fs_din->e2di_flags & IN_E4EXTENTS)
+       if (VTOI(ap->a_vp)->i_din.e2fs_din->e2di_flags & EXT2_EXTENTS)
                return ext4_bmapext(ap->a_vp, ap->a_bn, ap->a_bnp,
                    ap->a_runp, NULL);
        else



Home | Main Index | Thread Index | Old Index