~ubuntu-branches/ubuntu/utopic/xfsprogs/utopic-proposed

« back to all changes in this revision

Viewing changes to libxfs/xfs_inode.c

  • Committer: Bazaar Package Importer
  • Author(s): Nathan Scott
  • Date: 2009-09-17 14:32:48 UTC
  • Revision ID: james.westby@ubuntu.com-20090917143248-jrclwl1byyautnnk
Tags: 3.0.4
* New bugfix release
* Resolve a libxfs unaligned access (closes: #517553)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1056
1056
                }
1057
1057
 
1058
1058
                /* Translate to on disk format */
1059
 
                put_unaligned(cpu_to_be64(ep->l0), &dp->l0);
1060
 
                put_unaligned(cpu_to_be64(ep->l1), &dp->l1);
 
1059
                put_unaligned_be64(ep->l0, &dp->l0);
 
1060
                put_unaligned_be64(ep->l1, &dp->l1);
1061
1061
                dp++;
1062
1062
                copied++;
1063
1063
        }