# GSoC NTFS 2017 Update 9

DevFeed: [GSoC NTFS 2017 Update 9](<https://devfeed.tech/articles/gsoc-ntfs-2017-update-9-32823.md>)

Original publisher: [Read original article](<https://reactos.org/blogs/gsoc-ntfs-2017-update-9/>)

Published: 2017-08-12T00:00:00Z

Content type: article

Language: en

Sources: [Front Page on ReactOS Website](<https://devfeed.tech/sources/front-page-on-reactos-website.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [Refactoring](<https://devfeed.tech/topics/refactoring.md>), [bug](<https://devfeed.tech/topics/bug.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [code](<https://devfeed.tech/tags/code.md>), [free](<https://devfeed.tech/tags/free.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [os](<https://devfeed.tech/tags/os.md>), [react](<https://devfeed.tech/tags/react.md>), [reactos](<https://devfeed.tech/tags/reactos.md>), [refactor](<https://devfeed.tech/tags/refactor.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [win32](<https://devfeed.tech/tags/win32.md>), [winapi](<https://devfeed.tech/tags/winapi.md>)

## AI overview

This update describes refactoring the ReactOS NTFS driver's NTFS_ATTR_CONTEXT so its Record member points to an NTFS_ATTR_RECORD. The change enabled larger attribute records, exposed and fixed three instances of a bug, and resolved reported driver instability. The author also describes packing an index root into a sub-node when it becomes too full.

## Source excerpt

Last week went pretty well! :) In my last post, I talked about how I needed to refactor some code to fix a bug. I'm really happy with how this turned out. Refactoring As I mentioned before, the driver has a struct called an NTFS_ATTR_CONTEXT which keeps track of information related to attributes. The main purpose of the structure is to keep vital information about the attribute cached in memory, but it's also just a convenient way to pass information about attributes between functions and the driver relies on it quite extensively.