commit | 7a7205367dfd9adf129f0ebc7d040a557fe0d1ba | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Thu Dec 13 09:06:59 2007 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:58 2008 -0400 |
tree | 67603e812a8f8a088d7a1334c41bf39ec6b5011d | |
parent | 76fea00a0522185658b733d441d6ec049344456b [diff] |
Btrfs: Fix typo in .. check (thanks Yan) Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 06d92be..41b0c7d 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c
@@ -857,7 +857,7 @@ 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;