minix: fix add link's wrong position calculation
authorEvgeniy Dushistov <dushistov@mail.ru>
Tue, 6 Jan 2009 22:42:38 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:27 +0000 (15:59 -0800)
commitd6b54841f4ddd836c886d1e6ac381cf309ee98a3
tree106537060ff79fc597942743acd32fa8b3e8a0fd
parent4fb6de2561d5c47f3539a7b412108164d79fbb96
minix: fix add link's wrong position calculation

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>
Cc: <stable@kernel.org> [2.6.lots]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/minix/dir.c