ntfs: keep a state structure for ntfs_readdir() callers
commitd2240176af6ac239216b160611ed74d481095a4b
authorPaulo Alcantara <pcacjr@gmail.com>
Tue, 20 Sep 2011 02:45:19 +0000 (20 02:45 +0000)
committerPaulo Alcantara <pcacjr@gmail.com>
Tue, 20 Sep 2011 02:45:19 +0000 (20 02:45 +0000)
tree58b7a8dc685ac3d409f168b74f2f846ab3f7ab88
parent7e6065d5d1d8346683abf2f894d59c703fa60d87
ntfs: keep a state structure for ntfs_readdir() callers

Latetly, we kept a state information within the inode structure, that
was actually a mistake. Now, a ntfs_readdir_state structure is allocated
to keep a state that'll help on listing directory entries from sucessive
ntfs_readdir() calls.

Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
core/fs/ntfs/ntfs.c
core/fs/ntfs/ntfs.h