diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-04-15 19:46:50 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-04-15 22:36:45 -0400 |
commit | 80e5d1ff5d5f1ed5167a69b7c2fe86071b615f6b (patch) | |
tree | f3f7733cf08903f3d979f95b69148700c668f8b3 /fs/f2fs/dir.c | |
parent | d692d397e8a69f4ecdd7fb35ff0140d69bf17e18 (diff) |
useful constants: struct qstr for ".."
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/f2fs/dir.c')
-rw-r--r-- | fs/f2fs/dir.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index e6270a867be1..e211a1b6b013 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@ -449,9 +449,7 @@ struct f2fs_dir_entry *f2fs_find_entry(struct inode *dir, struct f2fs_dir_entry *f2fs_parent_dir(struct inode *dir, struct page **p) { - struct qstr dotdot = QSTR_INIT("..", 2); - - return f2fs_find_entry(dir, &dotdot, p); + return f2fs_find_entry(dir, &dotdot_name, p); } ino_t f2fs_inode_by_name(struct inode *dir, const struct qstr *qstr, |