]> git.baikalelectronics.ru Git - 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)
commitbe507827af381ba69439da4d8568943d6d6189bf
treeedaa11dc74e8c20ef98d6f5941d93165d840998b
parent4d21134d382b1d9c1e91f54eb5beb381ef8d4dab
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