diff options
author | Jiri Kosina <jkosina@suse.cz> | 2012-02-03 17:12:42 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-02-03 17:13:05 -0500 |
commit | 972c5ae961d6e5103e2b33d935cfa4145fd47140 (patch) | |
tree | 350b2a76b979ba8766c09838617df67ff330eca0 /fs/xfs/xfs_attr_leaf.c | |
parent | 5196d20305d5e30d871111d3a876cf067dd94255 (diff) | |
parent | 7c7ed8ec337bf5f62cc5287a6eb6b2f1b7504c2f (diff) |
Merge branch 'master' into for-next
Sync with Linus' tree to be able to apply patch to a newer
code (namely drivers/gpu/drm/gma500/psb_intel_lvds.c)
Diffstat (limited to 'fs/xfs/xfs_attr_leaf.c')
-rw-r--r-- | fs/xfs/xfs_attr_leaf.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/xfs/xfs_attr_leaf.c b/fs/xfs/xfs_attr_leaf.c index c1b55e596551..d25eafd4d28d 100644 --- a/fs/xfs/xfs_attr_leaf.c +++ b/fs/xfs/xfs_attr_leaf.c | |||
@@ -271,10 +271,6 @@ xfs_attr_shortform_add(xfs_da_args_t *args, int forkoff) | |||
271 | dp = args->dp; | 271 | dp = args->dp; |
272 | mp = dp->i_mount; | 272 | mp = dp->i_mount; |
273 | dp->i_d.di_forkoff = forkoff; | 273 | dp->i_d.di_forkoff = forkoff; |
274 | dp->i_df.if_ext_max = | ||
275 | XFS_IFORK_DSIZE(dp) / (uint)sizeof(xfs_bmbt_rec_t); | ||
276 | dp->i_afp->if_ext_max = | ||
277 | XFS_IFORK_ASIZE(dp) / (uint)sizeof(xfs_bmbt_rec_t); | ||
278 | 274 | ||
279 | ifp = dp->i_afp; | 275 | ifp = dp->i_afp; |
280 | ASSERT(ifp->if_flags & XFS_IFINLINE); | 276 | ASSERT(ifp->if_flags & XFS_IFINLINE); |
@@ -326,7 +322,6 @@ xfs_attr_fork_reset( | |||
326 | ASSERT(ip->i_d.di_anextents == 0); | 322 | ASSERT(ip->i_d.di_anextents == 0); |
327 | ASSERT(ip->i_afp == NULL); | 323 | ASSERT(ip->i_afp == NULL); |
328 | 324 | ||
329 | ip->i_df.if_ext_max = XFS_IFORK_DSIZE(ip) / sizeof(xfs_bmbt_rec_t); | ||
330 | xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); | 325 | xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); |
331 | } | 326 | } |
332 | 327 | ||
@@ -389,10 +384,6 @@ xfs_attr_shortform_remove(xfs_da_args_t *args) | |||
389 | (args->op_flags & XFS_DA_OP_ADDNAME) || | 384 | (args->op_flags & XFS_DA_OP_ADDNAME) || |
390 | !(mp->m_flags & XFS_MOUNT_ATTR2) || | 385 | !(mp->m_flags & XFS_MOUNT_ATTR2) || |
391 | dp->i_d.di_format == XFS_DINODE_FMT_BTREE); | 386 | dp->i_d.di_format == XFS_DINODE_FMT_BTREE); |
392 | dp->i_afp->if_ext_max = | ||
393 | XFS_IFORK_ASIZE(dp) / (uint)sizeof(xfs_bmbt_rec_t); | ||
394 | dp->i_df.if_ext_max = | ||
395 | XFS_IFORK_DSIZE(dp) / (uint)sizeof(xfs_bmbt_rec_t); | ||
396 | xfs_trans_log_inode(args->trans, dp, | 387 | xfs_trans_log_inode(args->trans, dp, |
397 | XFS_ILOG_CORE | XFS_ILOG_ADATA); | 388 | XFS_ILOG_CORE | XFS_ILOG_ADATA); |
398 | } | 389 | } |