<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/omfs/inode.c, branch linux-3.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-09-18T01:20:43Z</updated>
<entry>
<title>fs, omfs: add NULL terminator in the end up the token list</title>
<updated>2015-09-18T01:20:43Z</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=b31dfb226bf10b9b9bd58fe5bf0eceaef5d1bfe0'/>
<id>urn:sha1:b31dfb226bf10b9b9bd58fe5bf0eceaef5d1bfe0</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: Zefan Li &lt;lizefan@huawei.com&gt;
</content>
</entry>
<entry>
<title>switch open-coded instances of d_make_root() to new helper</title>
<updated>2012-03-21T01:29:35Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-01-09T03:15:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48fde701aff662559b38d9a609574068f22d00fe'/>
<id>urn:sha1:48fde701aff662559b38d9a609574068f22d00fe</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>omfs: propagate umode_t</title>
<updated>2012-01-04T03:55:01Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-07-25T02:58:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=587228be4a43c28c402c1cc8a5f185252d8e2231'/>
<id>urn:sha1:587228be4a43c28c402c1cc8a5f185252d8e2231</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.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>
</feed>
