Add a flag option to get xattr method that could have a bit flag of
XATTR_NOSECURITY passed to it. XATTR_NOSECURITY is generally then
set in the __vfs_getxattr path.
This handles the case of a union filesystem driver that is being
requested by the security layer to report back the xattr data.
Fo
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
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 insertions(
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 -
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 b/gfs2/include/Makefile
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
+++ b
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 |
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
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 osi_li
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,
-
-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
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
12 matches
Mail list logo