linux/fs/udf
Jan Kara af793295bf udf: cleanup directory offset handling
Position in directory returned by readdir is offset of directory entry divided
by four (don't ask me why).  Make this conversion only when reading f_pos from
userspace / writing it there and internally work in bytes.  It makes things
more easily readable and also fixes a bug (we forgot to divide length of the
entry by 4 when advancing f_pos in udf_add_entry()).

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-08 09:22:36 -08:00
..
balloc.c udf: cache struct udf_inode_info 2008-02-08 09:22:35 -08:00
crc.c udf: fix coding style 2008-02-08 09:22:35 -08:00
dir.c udf: remove wrong prototype of udf_readdir 2008-02-08 09:22:36 -08:00
directory.c udf: cleanup directory offset handling 2008-02-08 09:22:36 -08:00
ecma_167.h UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
file.c udf: cache struct udf_inode_info 2008-02-08 09:22:35 -08:00
fsync.c UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
ialloc.c udf: cache struct udf_inode_info 2008-02-08 09:22:35 -08:00
inode.c udf: cleanup directory offset handling 2008-02-08 09:22:36 -08:00
lowlevel.c UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
misc.c udf: cache struct udf_inode_info 2008-02-08 09:22:35 -08:00
namei.c udf: cleanup directory offset handling 2008-02-08 09:22:36 -08:00
osta_udf.h UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
partition.c udf: cache struct udf_inode_info 2008-02-08 09:22:35 -08:00
super.c kill UDFFS_{DATE,VERSION} 2008-02-08 09:22:36 -08:00
symlink.c udf: cache struct udf_inode_info 2008-02-08 09:22:35 -08:00
truncate.c udf: cache struct udf_inode_info 2008-02-08 09:22:35 -08:00
udf_i.h udf: remove UDF_I_* macros and open code them 2008-02-08 09:22:35 -08:00
udf_sb.h udf: move calculating of nr_groups into helper function 2008-02-08 09:22:35 -08:00
udfdecl.h udf: fix 3 signedness & 1 unitialized variable warnings 2008-02-08 09:22:36 -08:00
udfend.h UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
udftime.c udf: fix coding style 2008-02-08 09:22:35 -08:00
unicode.c udf: fix coding style 2008-02-08 09:22:35 -08:00