OSDN Git Service

ufs: beginning of __ufs_truncate_block() massage
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Jun 2015 05:10:03 +0000 (01:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 6 Jul 2015 21:39:32 +0000 (17:39 -0400)
commit31cd043e1a09c579c4cd38ea432200fbeae6af1f
tree8f0217ce551152f0189f064821f43bf269fe725e
parent4e3911f3d704d681477cdb4e1a2bfd52d5e42d23
ufs: beginning of __ufs_truncate_block() massage

Use ufs_block_to_path() to find the cutoff path in the block pointers' tree.
For now just use the information about the depth (to bypass the fully
preserved subtrees); subsequent commits will use the information about actual
path.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ufs/inode.c