[Cluster-devel] [PATCH v5 00/18] compat_ioctl.c removal, part 2/3

2019-08-14 Thread Arnd Bergmann
This is a follow-up to part 1/3 that I posted after -rc2. I hope these are still largely uncontroversial changes, and I would like to get them into linux-5.4. Part 1 was in https://lore.kernel.org/lkml/capcyv4i_nhzv155rcgnaq189aq2lfd2g8pa1d5nbzqo9e_u...@mail.gmail.com/ Part 3 will be one kernel

[PATCH v5 03/18] gfs2: add compat_ioctl support

2019-08-14 Thread Arnd Bergmann
Out of the four ioctl commands supported on gfs2, only FITRIM works in compat mode. Add a proper handler based on the ext4 implementation. Fixes: 6ddc5c3ddf25 ("gfs2: getlabel support") Signed-off-by: Arnd Bergmann --- fs/gfs2/file.c | 24 1 file changed, 24

[Cluster-devel] [PATCH 3/5] fsck.gfs2: Use the new list.h

2019-08-14 Thread Andrew Price
Signed-off-by: Andrew Price --- gfs2/fsck/fs_recovery.c | 29 +- gfs2/fsck/fsck.h| 7 +++-- gfs2/fsck/inode_hash.c | 1 - gfs2/fsck/main.c| 1 - gfs2/fsck/metawalk.c| 4 +-- gfs2/fsck/pass1b.c | 34 ++--- gfs2/fsck/pass3.c | 1

[Cluster-devel] [PATCH 5/5] Remove osi_list.h

2019-08-14 Thread Andrew Price
No longer required. Signed-off-by: Andrew Price --- gfs2/include/Makefile.am | 1 - gfs2/include/osi_list.h | 84 2 files changed, 85 deletions(-) delete mode 100644 gfs2/include/osi_list.h diff --git a/gfs2/include/Makefile.am

[Cluster-devel] [PATCH 2/5] gfs2_convert: Use the new list.h

2019-08-14 Thread Andrew Price
Signed-off-by: Andrew Price --- gfs2/convert/gfs2_convert.c | 80 ++--- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/gfs2/convert/gfs2_convert.c b/gfs2/convert/gfs2_convert.c index 17217ce5..34e47271 100644 --- a/gfs2/convert/gfs2_convert.c +++

[Cluster-devel] [PATCH 4/5] libgfs2: Use the new list.h

2019-08-14 Thread Andrew Price
Requires updates in the utils where they use osi_list_t exposed through libgfs2 interfaces. The new list.h's pointer poisoning found a double-release in savemeta which is fixed. Signed-off-by: Andrew Price --- gfs2/edit/savemeta.c | 25 ++--- gfs2/fsck/metawalk.c

[Cluster-devel] [PATCH 1/5] Update list implementation

2019-08-14 Thread Andrew Price
gfs2-utils has been carrying an ancient, macro-based list implementation that makes problems difficult to debug. Bring in a new implementation from the kernel source. Signed-off-by: Andrew Price --- gfs2/include/Makefile.am | 1 + gfs2/include/list.h | 902

[Cluster-devel] [PATCH 0/5] gfs2-utils: New list implementation

2019-08-14 Thread Andrew Price
This patch set updates the list implementation to the one currently in Linux. See the comments in the new gfs2/include/list.h for details. Andrew Price (5): Update list implementation gfs2_convert: Use the new list.h fsck.gfs2: Use the new list.h libgfs2: Use the new list.h Remove

Re: [Cluster-devel] [PATCH v2] Add flags option to get xattr method paired to __vfs_getxattr

2019-08-14 Thread Mark Salyzyn
On 8/14/19 4:00 AM, Jan Kara wrote: On Tue 13-08-19 07:55:06, Mark Salyzyn wrote: ... diff --git a/fs/xattr.c b/fs/xattr.c index 90dd78f0eb27..71f887518d6f 100644 --- a/fs/xattr.c +++ b/fs/xattr.c ... ssize_t __vfs_getxattr(struct dentry *dentry, struct inode *inode, const char *name, -

Re: [Cluster-devel] [PATCH v2] Add flags option to get xattr method paired to __vfs_getxattr

2019-08-14 Thread kbuild test robot
-Salyzyn/Add-flags-option-to-get-xattr-method-paired-to-__vfs_getxattr/20190814-124805 config: nds32-allmodconfig (attached as .config) compiler: nds32le-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Re: [Cluster-devel] [PATCH v2] Add flags option to get xattr method paired to __vfs_getxattr

2019-08-14 Thread Jan Kara
On Tue 13-08-19 07:55:06, Mark Salyzyn wrote: ... > diff --git a/fs/xattr.c b/fs/xattr.c > index 90dd78f0eb27..71f887518d6f 100644 > --- a/fs/xattr.c > +++ b/fs/xattr.c ... > ssize_t > __vfs_getxattr(struct dentry *dentry, struct inode *inode, const char *name, > -void *value, size_t