diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-02-01 15:07:56 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-02-01 15:07:56 -0800 |
commit | a86bf2283d2c9769205407e2b54777c03d012939 (patch) | |
tree | 590ff51c17884f1f2c0da042c8febd8c1ce0780a /fs/erofs | |
parent | c270ab5a87403f9365c00d3c587aa8000560bdc3 (diff) | |
parent | c1feab95e0b2e9fce7e4f4b2739baf40d84543af (diff) |
Merge tag 'pull-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc vfs cleanups from Al Viro:
"Two unrelated patches - one is a removal of long-obsolete include in
overlayfs (it used to need fs/internal.h, but the extern it wanted has
been moved back to include/linux/namei.h) and another introduces
convenience helper constructing struct qstr by a NUL-terminated
string"
* tag 'pull-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
add a string-to-qstr constructor
fs/overlayfs/namei.c: get rid of include ../internal.h
Diffstat (limited to 'fs/erofs')
-rw-r--r-- | fs/erofs/xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/xattr.c b/fs/erofs/xattr.c index 7940241d9355..df2777e05661 100644 --- a/fs/erofs/xattr.c +++ b/fs/erofs/xattr.c @@ -407,7 +407,7 @@ int erofs_getxattr(struct inode *inode, int index, const char *name, } it.index = index; - it.name = (struct qstr)QSTR_INIT(name, strlen(name)); + it.name = QSTR(name); if (it.name.len > EROFS_NAME_LEN) return -ERANGE; |