]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: Add write support for dirent filetype field
authorDave Chinner <dchinner@redhat.com>
Wed, 4 Sep 2013 22:05:52 +0000 (22:05 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 16 Sep 2013 20:15:46 +0000 (15:15 -0500)
commit906b762f55333968321062642a0b90feac1fdffb
treee22bd770e3da56d57d3327f626bfcd19da80d90b
parent494434d7fb79840ba113ecd7fb1ac3ae20e0f569
xfs: Add write support for dirent filetype field

Add support to propagate and add filetype values into the on-disk
directs. This involves passing the filetype into the xfs_da_args
structure along with the name and namelength for direct operations,
and encoding it into the dirent at the same time we write the inode
number into the dirent.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
include/xfs_sb.h
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_data.c
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_dir2_sf.c