]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:43:47 +0000 (10:43 -0800)
commit2906f0338509bf9a5f5a89f07cf592523133b8b2
treef496f3dd74682b85156eae961f844546c93c5779
parent4a2ef76a1ad491ac798316ebbff00780da67916f
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