libroot: Remove another obsolete comment.

This commit is contained in:
Augustin Cavalier
2024-09-03 11:16:54 -04:00
parent f27384b845
commit 90ae97dbac
+1 -3
View File
@@ -68,9 +68,7 @@ fs_write_attr(int fd, const char* attribute, uint32 type, off_t pos,
// 0, but it also tries to support programs which continue to write more
// chunks.
// The new Haiku way is to use fs_open_attr() to get a regular file handle
// and use that for writing, then use fs_close_attr() when done. As you
// see from this implementation, it saves 2 syscalls per writing a chunk
// of data.
// and use that for writing, then use fs_close_attr() when done.
ssize_t bytes = _kern_write_attr(fd, attribute, type, pos, buffer,
writeBytes);