search for: xfs_dinode_fmt_ext

Displaying 3 results from an estimated 3 matches for "xfs_dinode_fmt_ext".

2012 Jul 23
0
XFS filesystem driver's status
...s or even non-XFS ones) to test this implementation, please. It's available on my tree: git://zytor.com/users/pcacjr/syslinux.git (branch: xfs) What's currently missing on the implementation AFAIK is handling node directories, file inodes where their dinode's formats are different of XFS_DINODE_FMT_EXTENTS "extents", and listing directory entries from node directories. Just some advices before trying it out: - Make sure you're using mbr/mbr.bin from my tree, since it has been hacked up to be able to load Syslinux boot sector into 0x7c00 from XFS filesystems....
2015 Dec 15
8
[PATCH] xfs: Add support for v3 directories
...3 @@ static int xfs_readdir(struct file *file, struct dirent *dirent) return -1; } - if (core->di_format == XFS_DINODE_FMT_LOCAL) + switch (core->di_format) { + case XFS_DINODE_FMT_LOCAL: return xfs_fmt_local_readdir(file, dirent, core); - else if (core->di_format == XFS_DINODE_FMT_EXTENTS) + case XFS_DINODE_FMT_EXTENTS: + case XFS_DINODE_FMT_BTREE: return xfs_fmt_extents_readdir(file, dirent, core); + } return -1; } @@ -117,8 +120,10 @@ static int xfs_next_extent(struct inode *inode, uint32_t lstart) goto out; if (core->di_format == XFS_DINO...
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...node_get_core(fs, inode->ino); + if (!core) { + xfs_error("Failed to get dinode from disk (ino %llx)", inode->ino); + return -1; + } + + if (core->di_format == XFS_DINODE_FMT_LOCAL) + retval = xfs_fmt_local_readdir(file, dirent, core); + else if (core->di_format == XFS_DINODE_FMT_EXTENTS) + retval = xfs_fmt_extents_readdir(file, dirent, core); + + return retval; +} + +static uint32_t xfs_getfssec(struct file *file, char *buf, int sectors, + bool *have_more) +{ + return generic_getfssec(file, buf, sectors, have_more); +} + +static int xfs_next_extent(struct inode *i...