diff options
| author | Nathan Scott <nathans@sgi.com> | 2006-06-19 23:04:51 -0400 |
|---|---|---|
| committer | Nathan Scott <nathans@sgi.com> | 2006-06-19 23:04:51 -0400 |
| commit | f6c2d1fa6310a71b1c2e05fc6d9ff9b91489fa0e (patch) | |
| tree | 8541585188bfb903fc5198ea349122bf52d8ec96 /fs/xfs/xfs_inode.c | |
| parent | da2f4d679c8070ba5b6a920281e495917b293aa0 (diff) | |
[XFS] Remove version 1 directory code. Never functioned on Linux, just
pure bloat.
SGI-PV: 952969
SGI-Modid: xfs-linux-melb:xfs-kern:26251a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
| -rw-r--r-- | fs/xfs/xfs_inode.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index e799f0d00873..5fa0adb7e173 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
| @@ -26,14 +26,12 @@ | |||
| 26 | #include "xfs_trans_priv.h" | 26 | #include "xfs_trans_priv.h" |
| 27 | #include "xfs_sb.h" | 27 | #include "xfs_sb.h" |
| 28 | #include "xfs_ag.h" | 28 | #include "xfs_ag.h" |
| 29 | #include "xfs_dir.h" | ||
| 30 | #include "xfs_dir2.h" | 29 | #include "xfs_dir2.h" |
| 31 | #include "xfs_dmapi.h" | 30 | #include "xfs_dmapi.h" |
| 32 | #include "xfs_mount.h" | 31 | #include "xfs_mount.h" |
| 33 | #include "xfs_bmap_btree.h" | 32 | #include "xfs_bmap_btree.h" |
| 34 | #include "xfs_alloc_btree.h" | 33 | #include "xfs_alloc_btree.h" |
| 35 | #include "xfs_ialloc_btree.h" | 34 | #include "xfs_ialloc_btree.h" |
| 36 | #include "xfs_dir_sf.h" | ||
| 37 | #include "xfs_dir2_sf.h" | 35 | #include "xfs_dir2_sf.h" |
| 38 | #include "xfs_attr_sf.h" | 36 | #include "xfs_attr_sf.h" |
| 39 | #include "xfs_dinode.h" | 37 | #include "xfs_dinode.h" |
| @@ -2925,13 +2923,6 @@ xfs_iflush_fork( | |||
| 2925 | ASSERT(ifp->if_bytes <= XFS_IFORK_SIZE(ip, whichfork)); | 2923 | ASSERT(ifp->if_bytes <= XFS_IFORK_SIZE(ip, whichfork)); |
| 2926 | memcpy(cp, ifp->if_u1.if_data, ifp->if_bytes); | 2924 | memcpy(cp, ifp->if_u1.if_data, ifp->if_bytes); |
| 2927 | } | 2925 | } |
| 2928 | if (whichfork == XFS_DATA_FORK) { | ||
| 2929 | if (unlikely(XFS_DIR_SHORTFORM_VALIDATE_ONDISK(mp, dip))) { | ||
| 2930 | XFS_ERROR_REPORT("xfs_iflush_fork", | ||
| 2931 | XFS_ERRLEVEL_LOW, mp); | ||
| 2932 | return XFS_ERROR(EFSCORRUPTED); | ||
| 2933 | } | ||
| 2934 | } | ||
| 2935 | break; | 2926 | break; |
| 2936 | 2927 | ||
| 2937 | case XFS_DINODE_FMT_EXTENTS: | 2928 | case XFS_DINODE_FMT_EXTENTS: |
