]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
exfat: remove 'rwoffset' in exfat_inode_info
authorTetsuhiro Kohada <kohada.t2@gmail.com>
Thu, 17 Sep 2020 01:39:16 +0000 (10:39 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Wed, 21 Oct 2020 23:29:11 +0000 (08:29 +0900)
commit04cee52fb8bdbdb0506460f191ed6fd9e6faf00b
treeedaa11dc74e8c20ef98d6f5941d93165d840998b
parenta7a241686c8f8142afafbd5fa5b9b9b6ea1aa173
exfat: remove 'rwoffset' in exfat_inode_info

Remove 'rwoffset' in exfat_inode_info and replace it with the parameter of
exfat_readdir().
Since rwoffset is referenced only by exfat_readdir(), it is not necessary
a exfat_inode_info's member.
Also, change cpos to point to the next of entry-set, and return the index
of dir-entry via dir_entry->entry.

Signed-off-by: Tetsuhiro Kohada <kohada.t2@gmail.com>
Acked-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/dir.c
fs/exfat/exfat_fs.h
fs/exfat/file.c
fs/exfat/inode.c
fs/exfat/super.c