git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'apei', 'battery-mwh-fix', 'bugzilla-10807', 'bugzilla-14736', 'bugzil...
[pandora-kernel.git]
/
fs
/
xfs
/
xfs_dinode.h
diff --git
a/fs/xfs/xfs_dinode.h
b/fs/xfs/xfs_dinode.h
index
162e872
..
e5b153b
100644
(file)
--- a/
fs/xfs/xfs_dinode.h
+++ b/
fs/xfs/xfs_dinode.h
@@
-103,7
+103,9
@@
typedef enum xfs_dinode_fmt {
/*
* Inode size for given fs.
*/
-#define XFS_LITINO(mp) ((mp)->m_litino)
+#define XFS_LITINO(mp) \
+ ((int)(((mp)->m_sb.sb_inodesize) - sizeof(struct xfs_dinode)))
+
#define XFS_BROOT_SIZE_ADJ \
(XFS_BTREE_LBLOCK_LEN - sizeof(xfs_bmdr_block_t))