diff options
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_dir2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2.c b/fs/xfs/libxfs/xfs_dir2.c index 4ea1fddb126f..229152cd1a24 100644 --- a/fs/xfs/libxfs/xfs_dir2.c +++ b/fs/xfs/libxfs/xfs_dir2.c | |||
@@ -424,7 +424,6 @@ xfs_dir_removename( | |||
424 | int v; /* type-checking value */ | 424 | int v; /* type-checking value */ |
425 | 425 | ||
426 | ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); | 426 | ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); |
427 | ASSERT(tp->t_dfops); | ||
428 | XFS_STATS_INC(dp->i_mount, xs_dir_remove); | 427 | XFS_STATS_INC(dp->i_mount, xs_dir_remove); |
429 | 428 | ||
430 | args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); | 429 | args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); |
@@ -483,7 +482,6 @@ xfs_dir_replace( | |||
483 | int v; /* type-checking value */ | 482 | int v; /* type-checking value */ |
484 | 483 | ||
485 | ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); | 484 | ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); |
486 | ASSERT(tp->t_dfops); | ||
487 | 485 | ||
488 | rval = xfs_dir_ino_validate(tp->t_mountp, inum); | 486 | rval = xfs_dir_ino_validate(tp->t_mountp, inum); |
489 | if (rval) | 487 | if (rval) |