<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/udf/directory.c, branch linux-3.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-09-14T17:13:00Z</updated>
<entry>
<title>udf: Remove dead code</title>
<updated>2009-09-14T17:13:00Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2009-07-16T15:35:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5891d9dd2a47d38c205115211841a3d82304628f'/>
<id>urn:sha1:5891d9dd2a47d38c205115211841a3d82304628f</id>
<content type='text'>
Remove code that gets never used.

Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>Fix the udf code not to pass structs on stack where possible.</title>
<updated>2009-04-02T10:29:47Z</updated>
<author>
<name>Pekka Enberg</name>
</author>
<published>2008-10-15T10:29:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97e961fdbf32488b7386c9f1effa2bee97d47929'/>
<id>urn:sha1:97e961fdbf32488b7386c9f1effa2bee97d47929</id>
<content type='text'>
Signed-off-by: Pekka Enberg &lt;penberg@cs.helsinki.fi&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>Remove struct typedefs from fs/udf/ecma_167.h et al.</title>
<updated>2009-04-02T10:29:47Z</updated>
<author>
<name>Pekka Enberg</name>
</author>
<published>2008-10-15T10:28:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ca4e4be841e389d7d17833fef7be2359f290163'/>
<id>urn:sha1:5ca4e4be841e389d7d17833fef7be2359f290163</id>
<content type='text'>
Signed-off-by: Pekka Enberg &lt;penberg@cs.helsinki.fi&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>udf: cleanup directory offset handling</title>
<updated>2008-02-08T17:22:36Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2008-02-08T12:20:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af793295bf9ee92660f5e77d337b0493cea3f9b9'/>
<id>urn:sha1:af793295bf9ee92660f5e77d337b0493cea3f9b9</id>
<content type='text'>
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 &lt;jack@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>udf: fix 3 signedness &amp; 1 unitialized variable warnings</title>
<updated>2008-02-08T17:22:36Z</updated>
<author>
<name>Marcin Slusarz</name>
</author>
<published>2008-02-08T12:20:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ed161718a8f763130e6e349f2bbb1b764e6c5b3'/>
<id>urn:sha1:1ed161718a8f763130e6e349f2bbb1b764e6c5b3</id>
<content type='text'>
sparse generated:
fs/udf/inode.c:324:41: warning: incorrect type in argument 4 (different signedness)
fs/udf/inode.c:324:41:    expected long *&lt;noident&gt;
fs/udf/inode.c:324:41:    got unsigned long *&lt;noident&gt;

inode_getblk always set 4th argument to uint32_t value
3rd parameter of map_bh is sector_t (which is unsigned long or u64)
so convert phys value to sector_t

fs/udf/inode.c:1818:47: warning: incorrect type in argument 3 (different signedness)
fs/udf/inode.c:1818:47:    expected int *&lt;noident&gt;
fs/udf/inode.c:1818:47:    got unsigned int *&lt;noident&gt;
fs/udf/inode.c:1826:46: warning: incorrect type in argument 3 (different signedness)
fs/udf/inode.c:1826:46:    expected int *&lt;noident&gt;
fs/udf/inode.c:1826:46:    got unsigned int *&lt;noident&gt;

udf_get_filelongad and udf_get_shortad are called always for uint32_t
values (struct extent_position-&gt;offset), so it's safe to convert offset
parameter to uint32_t

gcc warned:
fs/udf/inode.c: In function 'udf_get_block':
fs/udf/inode.c:299: warning: 'phys' may be used uninitialized in this function
initialize it to 0 (if someday someone will break inode_getblk we will catch it immediately)

Signed-off-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Ben Fennema &lt;bfennema@falcon.csc.calpoly.edu&gt;
Acked-by: Jan Kara &lt;jack@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>udf: cache struct udf_inode_info</title>
<updated>2008-02-08T17:22:35Z</updated>
<author>
<name>Marcin Slusarz</name>
</author>
<published>2008-02-08T12:20:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48d6d8ff7dca804536298e517298182c4a51c421'/>
<id>urn:sha1:48d6d8ff7dca804536298e517298182c4a51c421</id>
<content type='text'>
cache UDF_I(struct inode *) return values when there are
at least 2 uses in one function

Signed-off-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Acked-by: Jan Kara &lt;jack@suse.cz&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>udf: remove UDF_I_* macros and open code them</title>
<updated>2008-02-08T17:22:35Z</updated>
<author>
<name>Marcin Slusarz</name>
</author>
<published>2008-02-08T12:20:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0b344385fa05f6bea462e707fcba89f9e2776c2'/>
<id>urn:sha1:c0b344385fa05f6bea462e707fcba89f9e2776c2</id>
<content type='text'>
Signed-off-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Acked-by: Jan Kara &lt;jack@suse.cz&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>udf: convert byte order of constant instead of variable</title>
<updated>2008-02-08T17:22:35Z</updated>
<author>
<name>Marcin Slusarz</name>
</author>
<published>2008-02-08T12:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e0f001736651f6f859aeca95f895c829d223cdb'/>
<id>urn:sha1:5e0f001736651f6f859aeca95f895c829d223cdb</id>
<content type='text'>
convert byte order of constant instead of variable,
which can be done at compile time (vs run time)

Signed-off-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Acked-by: Jan Kara &lt;jack@suse.cz&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>udf: fix coding style</title>
<updated>2008-02-08T17:22:35Z</updated>
<author>
<name>Marcin Slusarz</name>
</author>
<published>2008-02-08T12:20:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b11111aba6c80cc2969fd1806d2a869bfc9f357'/>
<id>urn:sha1:4b11111aba6c80cc2969fd1806d2a869bfc9f357</id>
<content type='text'>
fix coding style errors found by checkpatch:
- assignments in if conditions
- braces {} around single statement blocks
- no spaces after commas
- printks without KERN_*
- lines longer than 80 characters
- spaces between "type *" and variable name

before: 192 errors, 561 warnings, 8987 lines checked
after: 1 errors, 38 warnings, 9468 lines checked

Signed-off-by: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Jan Kara &lt;jack@suse.cz&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>UDF: coding style conversion - lindent fixups</title>
<updated>2007-07-22T00:49:14Z</updated>
<author>
<name>Cyrill Gorcunov</name>
</author>
<published>2007-07-21T11:37:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28de7948a896763bc97ccd416bba5b9422158350'/>
<id>urn:sha1:28de7948a896763bc97ccd416bba5b9422158350</id>
<content type='text'>
This patch fixes up sources after conversion by Lindent.

Signed-off-by: Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;
Cc: Jan Kara &lt;jack@ucw.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
