search for: dir_blk

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

2015 Dec 15
8
[PATCH] xfs: Add support for v3 directories
...y, + name) + + sf_entry->namelen + + ftypelen); + ino = xfs_dir2_sf_get_inumber(sf, inou); xfs_debug("entry inode's number %lu", ino); @@ -251,6 +261,7 @@ struct inode *xfs_dir2_block_find_entry(const char *dname, struct inode *parent, block_t dir_blk; struct fs_info *fs = parent->fs; const uint8_t *dirblk_buf; + bool isdir3; uint8_t *p, *endp; xfs_dir2_data_hdr_t *hdr; struct inode *inode = NULL; @@ -262,18 +273,26 @@ struct inode *xfs_dir2_block_find_entry(const char *dname, struct inode *parent, xfs_debug...
2015 Jul 18
1
[PATCH 1/2] xfs: rename xfs_is_valid_magicnum to xfs_is_valid_sb
xfs_is_valid_magicnum is not actually a generic function that checks for magic numbers, instead it checks only for superblock's one. Signed-off-by: Paulo Alcantara <pcacjr at zytor.com> --- core/fs/xfs/xfs.c | 13 +++++-------- core/fs/xfs/xfs.h | 19 ++++++++++--------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/core/fs/xfs/xfs.c b/core/fs/xfs/xfs.c index
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...gt;mode = DT_LNK; + xfs_debug("Found a symbolic link inode!"); + } + + return inode; + +out: + free(inode); + + return NULL; +} + +struct inode *xfs_dir2_block_find_entry(const char *dname, struct inode *parent, + xfs_dinode_t *core) +{ + xfs_bmbt_irec_t r; + block_t dir_blk; + struct fs_info *fs = parent->fs; + uint8_t *dirblk_buf; + uint8_t *p, *endp; + xfs_dir2_data_hdr_t *hdr; + struct inode *inode = NULL; + xfs_dir2_block_tail_t *btp; + xfs_dir2_data_unused_t *dup; + xfs_dir2_data_entry_t *dep; + xfs_intino_t ino; + xfs_dinode_t *n...