From 9000978d736025b7444db64e6379bf2601fac397 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Thu, 17 Apr 2008 16:50:09 +1000 Subject: [PATCH] --- yaml --- r: 89444 b: refs/heads/master c: cb49dbb130e17a6f9af4cb4714cf6976cf09afdf h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/xfs/xfs_attr_leaf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index e4d335aa01a7..f2d5b56e6e9f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f6485057c5cfbc84e5eff639ddea1ce0d668607b +refs/heads/master: cb49dbb130e17a6f9af4cb4714cf6976cf09afdf diff --git a/trunk/fs/xfs/xfs_attr_leaf.c b/trunk/fs/xfs/xfs_attr_leaf.c index 96ba6aa4ed8c..303d41e4217b 100644 --- a/trunk/fs/xfs/xfs_attr_leaf.c +++ b/trunk/fs/xfs/xfs_attr_leaf.c @@ -166,7 +166,7 @@ xfs_attr_shortform_bytesfit(xfs_inode_t *dp, int bytes) if (!(mp->m_flags & XFS_MOUNT_ATTR2)) { if (bytes <= XFS_IFORK_ASIZE(dp)) - return mp->m_attroffset >> 3; + return dp->i_d.di_forkoff; return 0; }