Re: [PATCH v17 04/10] fs/ntfs3: Add file operations and implementation

2021-01-18 Thread Kari Argillander
On Mon, Jan 18, 2021 at 10:00:53AM +, Konstantin Komarov wrote: > From: Kari Argillander > Sent: Monday, January 4, 2021 12:58 AM > > On Thu, Dec 31, 2020 at 06:23:55PM +0300, Konstantin Komarov wrote: > > > +static long ntfs_fallocate(struct file *file, int mode, loff_t vbo, > > > loff_t l

RE: [PATCH v17 04/10] fs/ntfs3: Add file operations and implementation

2021-01-18 Thread Konstantin Komarov
ad.org; > j...@perches.com; m...@harmstone.com; nbori...@suse.com; > linux-ntfs-...@lists.sourceforge.net; an...@tuxera.com; > dan.carpen...@oracle.com; h...@lst.de; ebigg...@kernel.org; > andy.l...@gmail.com > Subject: Re: [PATCH v17 04/10] fs/ntfs3: Add file operations and > implementatio

Re: [PATCH v17 04/10] fs/ntfs3: Add file operations and implementation

2021-01-03 Thread Matthew Wilcox
On Thu, Dec 31, 2020 at 06:23:55PM +0300, Konstantin Komarov wrote: > +/* > + * file_operations::iterate_shared > + * > + * Use non sorted enumeration. > + * We have an example of broken volume where sorted enumeration > + * counts each name twice > + */ > +static int ntfs_readdir(struct file *file

Re: [PATCH v17 04/10] fs/ntfs3: Add file operations and implementation

2021-01-03 Thread Matthew Wilcox
On Sun, Jan 03, 2021 at 11:57:32PM +0200, Kari Argillander wrote: > > + /* > > +* mirror of len, but signed, because run_packed_size() > > +* works with signed int only > > +*/ > > + len64 = len; > > + > > + /* how much bytes is pack

Re: [PATCH v17 04/10] fs/ntfs3: Add file operations and implementation

2021-01-03 Thread Kari Argillander
On Thu, Dec 31, 2020 at 06:23:55PM +0300, Konstantin Komarov wrote: > This adds file operations and implementation > > Signed-off-by: Konstantin Komarov > --- > fs/ntfs3/dir.c | 570 > fs/ntfs3/file.c| 1140 > fs/ntfs3/frecord.c | 3088 +