aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dinode.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-07-26 11:22:54 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-26 11:22:54 -0700
commit6c4155a9cd6bd07d3cb70ca5eeb6f2751de0931c (patch)
treee2fbc72ab180b3c6b0d0fcee89c29a04f050d0a1 /fs/xfs/xfs_dinode.h
parentMerge branch 'for-3.11' of git://linux-nfs.org/~bfields/linux (diff)
parentxfs: di_flushiter considered harmful (diff)
downloadlinux-dev-6c4155a9cd6bd07d3cb70ca5eeb6f2751de0931c.tar.xz
linux-dev-6c4155a9cd6bd07d3cb70ca5eeb6f2751de0931c.zip
Merge tag 'for-linus-v3.11-rc3' of git://oss.sgi.com/xfs/xfs
Pull xfs fix from Ben Myers: "Fix for regression in commit cca9f93a52d2 ("xfs: don't do IO when creating an new inode"), recovery causing filesystem corruption after a crash" * tag 'for-linus-v3.11-rc3' of git://oss.sgi.com/xfs/xfs: xfs: di_flushiter considered harmful
Diffstat (limited to 'fs/xfs/xfs_dinode.h')
-rw-r--r--fs/xfs/xfs_dinode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_dinode.h b/fs/xfs/xfs_dinode.h
index 07d735a80a0f..e5869b50dc41 100644
--- a/fs/xfs/xfs_dinode.h
+++ b/fs/xfs/xfs_dinode.h
@@ -39,6 +39,9 @@ typedef struct xfs_timestamp {
* There is a very similar struct icdinode in xfs_inode which matches the
* layout of the first 96 bytes of this structure, but is kept in native
* format instead of big endian.
+ *
+ * Note: di_flushiter is only used by v1/2 inodes - it's effectively a zeroed
+ * padding field for v3 inodes.
*/
typedef struct xfs_dinode {
__be16 di_magic; /* inode magic # = XFS_DINODE_MAGIC */