diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-04-16 02:46:50 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-04-16 05:36:45 +0300 |
commit | 80e5d1ff5d5f1ed5167a69b7c2fe86071b615f6b (patch) | |
tree | f3f7733cf08903f3d979f95b69148700c668f8b3 /fs/udf | |
parent | d692d397e8a69f4ecdd7fb35ff0140d69bf17e18 (diff) | |
download | linux-80e5d1ff5d5f1ed5167a69b7c2fe86071b615f6b.tar.xz |
useful constants: struct qstr for ".."
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/udf')
-rw-r--r-- | fs/udf/namei.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/udf/namei.c b/fs/udf/namei.c index f146b3089f3d..3ae9f1e91984 100644 --- a/fs/udf/namei.c +++ b/fs/udf/namei.c @@ -1215,11 +1215,10 @@ static struct dentry *udf_get_parent(struct dentry *child) { struct kernel_lb_addr tloc; struct inode *inode = NULL; - struct qstr dotdot = QSTR_INIT("..", 2); struct fileIdentDesc cfi; struct udf_fileident_bh fibh; - if (!udf_find_entry(d_inode(child), &dotdot, &fibh, &cfi)) + if (!udf_find_entry(d_inode(child), &dotdot_name, &fibh, &cfi)) return ERR_PTR(-EACCES); if (fibh.sbh != fibh.ebh) |