]> git.baikalelectronics.ru Git - kernel.git/commit
ufs: fix symlink creation on ufs2
authorEvgeniy Dushistov <dushistov@mail.ru>
Fri, 8 Feb 2008 12:20:16 +0000 (04:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:33 +0000 (09:22 -0800)
commitc64689a355a5cc803147f877b1ff6790f5a410f4
tree907a54eebb048155dbbd091a11f2ff136ec45964
parentea0492fec6322d230cb23a19d0262f6d7e2c76bc
ufs: fix symlink creation on ufs2

If we create symlink on UFS2 filesystem under Linux, it looks wrong under
other OSes, because of max symlink length field was not initialized
properly, and data blocks were not used to save short symlink names.

[akpm@linux-foundation.org: add missing fs32_to_cpu()]
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Cc: Steven <stevenaaus@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ufs/super.c