[Xen-devel] [PATCH 00/38] VFS: Convert trivial filesystems and more

2019-03-14 Thread David Howells
be found here also: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git on branch: mount-api-viro David --- David Howells (38): vfs: Provide sb->s_iflags settings in fs_context struct vfs: Provide a mount_pseudo-replacement for fs_context vfs

[Xen-devel] [PATCH 32/38] vfs: Convert xenfs to fs_context

2019-03-14 Thread David Howells
Signed-off-by: David Howells cc: Boris Ostrovsky cc: Juergen Gross cc: Stefano Stabellini cc: xen-devel@lists.xenproject.org --- drivers/xen/xenfs/super.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/drivers/xen/xenfs/super.c b/drivers/xen

[Xen-devel] [RFC PATCH 35/68] vfs: Convert xenfs to use the new mount API

2019-03-27 Thread David Howells
-off-by: David Howells cc: Boris Ostrovsky cc: Juergen Gross cc: Stefano Stabellini cc: xen-devel@lists.xenproject.org --- drivers/xen/xenfs/super.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/drivers/xen/xenfs/super.c b/drivers/xen/xenfs/super.c

[Xen-devel] [RFC PATCH 00/68] VFS: Convert a bunch of filesystems to the new mount API

2019-03-27 Thread David Howells
nverts a slew of filesystems to use the mount API. (9) Fixes a bug in hypfs. The patches can be found here also: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git on branch: mount-api-viro David --- Andrew Price (1): gfs2: Convert gfs2 to fs_context

[RFC PATCH 1/3] net: Drop the size argument from ->sendmsg()

2023-03-22 Thread David Howells
The size argument to ->sendmsg() ought to be redundant as the same information should be conveyed by msg->msg_iter.count as returned by msg_data_left(). Signed-off-by: David Howells cc: Eric Dumazet cc: "David S. Miller" cc: Jakub Kicinski cc: Paolo Abeni cc: net...@vger.kern

Re: [PATCH 00/32] Introduce flexible array struct memcpy() helpers

2022-05-12 Thread David Howells
Kees Cook wrote: > I'm happy to also point out that the conversions (patches 5+) are actually > a net reduction in lines of code: > 49 files changed, 154 insertions(+), 244 deletions(-) That doesn't mean that it's actually code that's clearer to read. I would say that it's actually less clea

Re: [PATCH 19/32] afs: Use mem_to_flex_dup() with struct afs_acl

2022-05-12 Thread David Howells
Kees Cook wrote: > struct afs_acl { > - u32 size; > - u8 data[]; > + DECLARE_FLEX_ARRAY_ELEMENTS_COUNT(u32, size); > + DECLARE_FLEX_ARRAY_ELEMENTS(u8, data); > }; Oof... That's really quite unpleasant syntax. Is it not possible to have mem_to_flex_dup() and friends