<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/omfs/inode.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-08-06T23:32:13Z</updated>
<entry>
<title>fs, omfs: add NULL terminator in the end up the token list</title>
<updated>2015-08-06T23:32:13Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2015-05-28T22:44:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5045e0fee1a7b2cf132afb94977d4c8d781bd04'/>
<id>urn:sha1:a5045e0fee1a7b2cf132afb94977d4c8d781bd04</id>
<content type='text'>
commit dcbff39da3d815f08750552fdd04f96b51751129 upstream.

match_token() expects a NULL terminator at the end of the token list so
that it would know where to stop.  Not having one causes it to overrun
to invalid memory.

In practice, passing a mount option that omfs didn't recognize would
sometimes panic the system.

Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
Signed-off-by: Bob Copeland &lt;me@bobcopeland.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>new helper: mount_bdev()</title>
<updated>2010-10-29T08:16:13Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2010-07-24T20:46:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=152a08366671080f27b32e0c411ad620c5f88b57'/>
<id>urn:sha1:152a08366671080f27b32e0c411ad620c5f88b57</id>
<content type='text'>
... and switch of the obvious get_sb_bdev() users to -&gt;mount()

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bcopeland/omfs</title>
<updated>2010-08-10T18:47:36Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2010-08-10T18:47:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8196867c74890ccdf40a2b5e3e173597fbc4f9ac'/>
<id>urn:sha1:8196867c74890ccdf40a2b5e3e173597fbc4f9ac</id>
<content type='text'>
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bcopeland/omfs:
  omfs: fix uninitialized variable warning
  omfs: sanity check cluster size
  omfs: refuse to mount if bitmap pointer is obviously wrong
  omfs: check bounds on block numbers before passing to sb_bread
  omfs: fix memory leak
</content>
</entry>
<entry>
<title>switch omfs to -&gt;evict_inode()</title>
<updated>2010-08-09T20:48:05Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2010-06-06T14:12:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69c9e750176b409559b2361fbb28fa7bbf3c5461'/>
<id>urn:sha1:69c9e750176b409559b2361fbb28fa7bbf3c5461</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>omfs: sanity check cluster size</title>
<updated>2010-07-10T18:38:11Z</updated>
<author>
<name>Bob Copeland</name>
</author>
<published>2010-07-06T15:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8800a044c71a128633cf3febaf4780531a991334'/>
<id>urn:sha1:8800a044c71a128633cf3febaf4780531a991334</id>
<content type='text'>
A corrupt filesystem could have a bad cluster size; this could result in
the filesystem allocating too much space for files if too large, or
getting stuck in omfs_allocate_block if too small.  The proper range is
1-8 blocks.

Reported-by: Eric Sesterhenn &lt;snakebyte@gmx.de&gt;
Signed-off-by: Bob Copeland &lt;me@bobcopeland.com&gt;
</content>
</entry>
<entry>
<title>omfs: refuse to mount if bitmap pointer is obviously wrong</title>
<updated>2010-07-10T18:37:39Z</updated>
<author>
<name>Bob Copeland</name>
</author>
<published>2008-08-14T22:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9442e54f433eff9b6fbd0836611df4c1919df370'/>
<id>urn:sha1:9442e54f433eff9b6fbd0836611df4c1919df370</id>
<content type='text'>
If the free space bitmap pointer is corrupted such that it lies outside
of the number of blocks in the filesystem, print a message and fail the
mount so the user can fix it offline.

Signed-off-by: Bob Copeland &lt;me@bobcopeland.com&gt;
</content>
</entry>
<entry>
<title>omfs: check bounds on block numbers before passing to sb_bread</title>
<updated>2010-07-10T18:37:06Z</updated>
<author>
<name>Bob Copeland</name>
</author>
<published>2008-09-06T21:51:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f068272cb2f134a194b93e94a8e0672bfce48cd8'/>
<id>urn:sha1:f068272cb2f134a194b93e94a8e0672bfce48cd8</id>
<content type='text'>
In case of filesystem corruption, passing unchecked block numbers into
sb_bread can result in an infinite loop in __getblk().  Introduce a wrapper
function omfs_sbread() to check the block numbers and to also perform the
clus_to_blk() scaling.

Signed-off-by: Bob Copeland &lt;me@bobcopeland.com&gt;
</content>
</entry>
<entry>
<title>omfs: fix memory leak</title>
<updated>2010-07-06T15:05:31Z</updated>
<author>
<name>Davidlohr Bueso</name>
</author>
<published>2010-07-06T04:50:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=70d9e384aa7df681cfffd65947af72b22e86690e'/>
<id>urn:sha1:70d9e384aa7df681cfffd65947af72b22e86690e</id>
<content type='text'>
In the error path of omfs_fill_super(), the FS super block info
(sbi) is not being freed.  Correct this.

Signed-off-by: Davidlohr Bueso &lt;dave@gnu.org&gt;
Signed-off-by: Bob Copeland &lt;me@bobcopeland.com&gt;
</content>
</entry>
<entry>
<title>omfs: replace inode uid,gid,mode initialization with helper function</title>
<updated>2010-05-21T22:31:25Z</updated>
<author>
<name>Dmitry Monakhov</name>
</author>
<published>2010-03-04T14:32:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a9e652c88fad648ea088ac07dbc671a9813f75e'/>
<id>urn:sha1:6a9e652c88fad648ea088ac07dbc671a9813f75e</id>
<content type='text'>
Signed-off-by: Dmitry Monakhov &lt;dmonakhov@openvz.org&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' into for-next</title>
<updated>2010-04-23T00:08:44Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2010-04-23T00:08:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c9468e9eb1252eaefd94ce7f06e1be9b0b641b1'/>
<id>urn:sha1:6c9468e9eb1252eaefd94ce7f06e1be9b0b641b1</id>
<content type='text'>
</content>
</entry>
</feed>
