mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Delete extra whitespace at the end of line, which annoys quilt
git-svn-id: svn://coreboot.org/openbios/openbios-devel@284 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* fsys_xfs.c - an implementation for the SGI XFS file system */
|
||||
/*
|
||||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 2001,2002 Free Software Foundation, Inc.
|
||||
*
|
||||
@@ -107,7 +107,7 @@ le16 (__uint16_t x)
|
||||
return x;
|
||||
#else
|
||||
return __be16_to_cpu(x);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline __uint32_t
|
||||
@@ -142,7 +142,7 @@ le64 (__uint64_t x)
|
||||
static xfs_fsblock_t
|
||||
xt_start (xfs_bmbt_rec_32_t *r)
|
||||
{
|
||||
return (((xfs_fsblock_t)(le32 (r->l1) & mask32lo(9))) << 43) |
|
||||
return (((xfs_fsblock_t)(le32 (r->l1) & mask32lo(9))) << 43) |
|
||||
(((xfs_fsblock_t)le32 (r->l2)) << 11) |
|
||||
(((xfs_fsblock_t)le32 (r->l3)) >> 21);
|
||||
}
|
||||
@@ -369,7 +369,7 @@ next_dentry (xfs_ino_t *ino)
|
||||
++name;
|
||||
++namelen;
|
||||
sfe = (xfs_dir2_sf_entry_t *)
|
||||
(inode->di_u.di_c
|
||||
(inode->di_u.di_c
|
||||
+ sizeof(xfs_dir2_sf_hdr_t)
|
||||
- xfs.i8param);
|
||||
break;
|
||||
@@ -466,7 +466,7 @@ xfs_mount (void)
|
||||
|
||||
if (!devread (0, 0, sizeof(super), (char *)&super)
|
||||
|| (le32(super.sb_magicnum) != XFS_SB_MAGIC)
|
||||
|| ((le16(super.sb_versionnum)
|
||||
|| ((le16(super.sb_versionnum)
|
||||
& XFS_SB_VERSION_NUMBITS) != XFS_SB_VERSION_4) ) {
|
||||
return 0;
|
||||
}
|
||||
@@ -513,7 +513,7 @@ xfs_read (char *buf, int len)
|
||||
offset = xad->offset;
|
||||
xadlen = xad->len;
|
||||
if (isinxt (filepos >> xfs.blklog, offset, xadlen)) {
|
||||
endofcur = (offset + xadlen) << xfs.blklog;
|
||||
endofcur = (offset + xadlen) << xfs.blklog;
|
||||
toread = (endofcur >= endpos)
|
||||
? len : (endofcur - filepos);
|
||||
|
||||
@@ -535,7 +535,7 @@ xfs_read (char *buf, int len)
|
||||
}
|
||||
continue;
|
||||
}
|
||||
endofprev = offset + xadlen;
|
||||
endofprev = offset + xadlen;
|
||||
}
|
||||
|
||||
return filepos - startpos;
|
||||
|
||||
Reference in New Issue
Block a user