projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xfs: create new metadata UUID field and incompat flag
[linux-2.6-block.git]
/
fs
/
xfs
/
libxfs
/
xfs_ialloc.c
diff --git
a/fs/xfs/libxfs/xfs_ialloc.c
b/fs/xfs/libxfs/xfs_ialloc.c
index 66efc702452a0cd45920ce3fd021c689d7bdd40b..ce63e0431f3e5fe624c63f98a6daa064f5d6ad10 100644
(file)
--- a/
fs/xfs/libxfs/xfs_ialloc.c
+++ b/
fs/xfs/libxfs/xfs_ialloc.c
@@
-338,7
+338,8
@@
xfs_ialloc_inode_init(
if (version == 3) {
free->di_ino = cpu_to_be64(ino);
ino++;
if (version == 3) {
free->di_ino = cpu_to_be64(ino);
ino++;
- uuid_copy(&free->di_uuid, &mp->m_sb.sb_uuid);
+ uuid_copy(&free->di_uuid,
+ &mp->m_sb.sb_meta_uuid);
xfs_dinode_calc_crc(mp, free);
} else if (tp) {
/* just log the inode core */
xfs_dinode_calc_crc(mp, free);
} else if (tp) {
/* just log the inode core */
@@
-2500,7
+2501,7
@@
xfs_agi_verify(
struct xfs_agi *agi = XFS_BUF_TO_AGI(bp);
if (xfs_sb_version_hascrc(&mp->m_sb) &&
struct xfs_agi *agi = XFS_BUF_TO_AGI(bp);
if (xfs_sb_version_hascrc(&mp->m_sb) &&
- !uuid_equal(&agi->agi_uuid, &mp->m_sb.sb_uuid))
+ !uuid_equal(&agi->agi_uuid, &mp->m_sb.sb_
meta_
uuid))
return false;
/*
* Validate the magic number of the agi block.
return false;
/*
* Validate the magic number of the agi block.