diff --git a/[refs] b/[refs] index c2c3d6905808..c8a2b83d8e4a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1449032be17abb69116dbc393f67ceb8bd034f92 +refs/heads/master: 6d5c3aa84b3e431f2d0fc39c73c867d1a4dd8cff diff --git a/trunk/fs/ext4/namei.c b/trunk/fs/ext4/namei.c index 92203b8a099f..dc40e75cba88 100644 --- a/trunk/fs/ext4/namei.c +++ b/trunk/fs/ext4/namei.c @@ -872,7 +872,7 @@ static struct buffer_head * ext4_find_entry (struct inode *dir, if (namelen > EXT4_NAME_LEN) return NULL; if ((namelen <= 2) && (name[0] == '.') && - (name[1] == '.' || name[1] == '0')) { + (name[1] == '.' || name[1] == '\0')) { /* * "." or ".." will only be in the first block * NFS may look up ".."; "." should be handled by the VFS