diff options
author | delphij <delphij@FreeBSD.org> | 2013-06-11 19:12:06 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-06-11 19:12:06 +0000 |
commit | b7b5433b3942fea3429024cd3ba2b31270326078 (patch) | |
tree | e6be4d446ac91d9588da577ab9668a04a5bf4c4a /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c | |
parent | af94e1f92e06a87769668f29884f2a0f4fb65cfb (diff) | |
download | FreeBSD-src-b7b5433b3942fea3429024cd3ba2b31270326078.zip FreeBSD-src-b7b5433b3942fea3429024cd3ba2b31270326078.tar.gz |
MFV r251620:
ZFS comments need cleaner, more consistent style
Illumos ZFS issues:
3741 zfs comments need cleaner, more consistent style
MFC after: 2 weeks
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c index 9aefdd9..bf47278 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c @@ -1808,14 +1808,16 @@ dnode_willuse_space(dnode_t *dn, int64_t space, dmu_tx_t *tx) } /* - * This function scans a block at the indicated "level" looking for - * a hole or data (depending on 'flags'). If level > 0, then we are - * scanning an indirect block looking at its pointers. If level == 0, - * then we are looking at a block of dnodes. If we don't find what we - * are looking for in the block, we return ESRCH. Otherwise, return - * with *offset pointing to the beginning (if searching forwards) or - * end (if searching backwards) of the range covered by the block - * pointer we matched on (or dnode). + * Scans a block at the indicated "level" looking for a hole or data, + * depending on 'flags'. + * + * If level > 0, then we are scanning an indirect block looking at its + * pointers. If level == 0, then we are looking at a block of dnodes. + * + * If we don't find what we are looking for in the block, we return ESRCH. + * Otherwise, return with *offset pointing to the beginning (if searching + * forwards) or end (if searching backwards) of the range covered by the + * block pointer we matched on (or dnode). * * The basic search algorithm used below by dnode_next_offset() is to * use this function to search up the block tree (widen the search) until |