Searched hist:af793295bf9ee92660f5e77d337b0493cea3f9b9 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/udf/ |
H A D | directory.c | diff af793295bf9ee92660f5e77d337b0493cea3f9b9 Fri Feb 08 06:20:50 CST 2008 Jan Kara <jack@suse.cz> 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>
|
H A D | namei.c | diff af793295bf9ee92660f5e77d337b0493cea3f9b9 Fri Feb 08 06:20:50 CST 2008 Jan Kara <jack@suse.cz> 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>
|
H A D | inode.c | diff af793295bf9ee92660f5e77d337b0493cea3f9b9 Fri Feb 08 06:20:50 CST 2008 Jan Kara <jack@suse.cz> 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>
|