mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:20:58 +07:00
Btrfs: Fix typo in .. check (thanks Yan)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
76fea00a05
commit
7a7205367d
@ -857,7 +857,7 @@ static int btrfs_inode_by_name(struct inode *dir, struct dentry *dentry,
|
||||
path = btrfs_alloc_path();
|
||||
BUG_ON(!path);
|
||||
|
||||
if (namelen == 1 && strcmp(name, "..") == 0) {
|
||||
if (namelen == 2 && strcmp(name, "..") == 0) {
|
||||
struct btrfs_key key;
|
||||
struct extent_buffer *leaf;
|
||||
u32 nritems;
|
||||
|
Loading…
Reference in New Issue
Block a user