mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
VFS: Provide empty name qstr
Provide an empty name (ie. "") qstr for general use. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ee416bcdba
commit
cdf01226b2
6 changed files with 15 additions and 10 deletions
|
@ -55,6 +55,11 @@ struct qstr {
|
|||
|
||||
#define QSTR_INIT(n,l) { { { .len = l } }, .name = n }
|
||||
|
||||
extern const char empty_string[];
|
||||
extern const struct qstr empty_name;
|
||||
extern const char slash_string[];
|
||||
extern const struct qstr slash_name;
|
||||
|
||||
struct dentry_stat_t {
|
||||
long nr_dentry;
|
||||
long nr_unused;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue