minix: fix add link's wrong position calculation
authorEvgeniy Dushistov <dushistov@mail.ru>
Tue, 6 Jan 2009 22:42:38 +0000 (14:42 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 18 Jan 2009 18:35:27 +0000 (10:35 -0800)
commita79fdfe90a3795eabf04430400ecb4711d939c5f
treec09402647b78eb0c0c66241ec5e8cc207ee56f11
parent5fb828be9c8a06ac01ac155567bc8a8aa461e1e9
minix: fix add link's wrong position calculation

commit d6b54841f4ddd836c886d1e6ac381cf309ee98a3 upstream.

Fix the add link method.  The oosition in the directory was calculated in
wrong way - it had the incorrect shift direction.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/minix/dir.c