]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix typo which broke '..' detection in ext4_find_entry()
authorAaro Koskinen <aaro.koskinen@nokia.com>
Wed, 15 Dec 2010 02:45:31 +0000 (21:45 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 15 Dec 2010 02:45:31 +0000 (21:45 -0500)
commitfe8713663c1a8f591202297ce4aa89ee19e254a4
treed03a2ddc636597d96e9333dd79bae22314564e67
parent08294123b9d747e3d29746ef75f64d248f5c374c
ext4: fix typo which broke '..' detection in ext4_find_entry()

There should be a check for the NUL character instead of '0'.

Fortunately the only thing that cares about this is NFS serving, which
is why we didn't notice this in the merge window testing.

Reported-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/namei.c