remove stale comment

Summary:
this comment is not accurate since removing libfuse.
The good news is that doing that meant that I didn't need to
touch DirList when removing libfuse.

Reviewed By: chadaustin

Differential Revision: D6672533

fbshipit-source-id: 54216685b03b8f6dd7ee96b7bc38bb91d1b33366
This commit is contained in:
Wez Furlong 2018-01-08 10:17:06 -08:00 committed by Facebook Github Bot
parent 0d6c3a31cd
commit 7c6d65c432

View File

@ -21,10 +21,6 @@ DirList::DirList(size_t maxSize)
: buf_(new char[maxSize]), end_(buf_.get() + maxSize), cur_(buf_.get()) {}
bool DirList::add(StringPiece name, ino_t inode, dtype_t type, off_t off) {
// The libfuse APIs unfortunately only accept null terminated strings,
// so we manually add the fuse_dirent object here rather than using
// fuse_add_direntry().
size_t avail = end_ - cur_;
auto entLength = FUSE_NAME_OFFSET + name.size();
auto fullSize = FUSE_DIRENT_ALIGN(entLength);