<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/fs/ocfs2, branch linux-3.5.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-3.5.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-3.5.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2012-07-11T23:04:43+00:00</updated>
<entry>
<title>ocfs2: fix NULL pointer dereference in __ocfs2_change_file_space()</title>
<updated>2012-07-11T23:04:43+00:00</updated>
<author>
<name>Luis Henriques</name>
<email>luis.henriques@canonical.com</email>
</author>
<published>2012-07-11T21:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a4e08d001f2e50bb8b3c4eebadcf08e5535f02ee'/>
<id>urn:sha1:a4e08d001f2e50bb8b3c4eebadcf08e5535f02ee</id>
<content type='text'>
As ocfs2_fallocate() will invoke __ocfs2_change_file_space() with a NULL
as the first parameter (file), it may trigger a NULL pointer dereferrence
due to a missing check.

Addresses http://bugs.launchpad.net/bugs/1006012

Signed-off-by: Luis Henriques &lt;luis.henriques@canonical.com&gt;
Reported-by: Bret Towe &lt;magnade@gmail.com&gt;
Tested-by: Bret Towe &lt;magnade@gmail.com&gt;
Cc: Sunil Mushran &lt;sunil.mushran@oracle.com&gt;
Acked-by: Joel Becker &lt;jlbec@evilplan.org&gt;
Acked-by: Mark Fasheh &lt;mfasheh@suse.com&gt;
Cc: &lt;stable@vger.kernel.org&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>ocfs2: Fix bogus error message from ocfs2_global_read_info</title>
<updated>2012-07-04T06:27:17+00:00</updated>
<author>
<name>Jan Kara</name>
<email>jack@suse.cz</email>
</author>
<published>2012-02-10T09:50:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a4564ead763a9264edbec6d4e72aa273f05eb39c'/>
<id>urn:sha1:a4564ead763a9264edbec6d4e72aa273f05eb39c</id>
<content type='text'>
'status' variable in ocfs2_global_read_info() is always != 0 when leaving the
function because it happens to contain number of read bytes. Thus we always log
error message although everything is OK. Since all error cases properly call
mlog_errno() before jumping to out_err, there's no reason to call mlog_errno()
on exit at all. This is a fallout of c1e8d35e (conversion of mlog_exit()
calls).

Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Signed-off-by: Joel Becker &lt;jlbec@evilplan.org&gt;
</content>
</entry>
<entry>
<title>ocfs2: for SEEK_DATA/SEEK_HOLE, return internal error unchanged if ocfs2_get_clusters_nocache() or ocfs2_inode_lock() call failed.</title>
<updated>2012-07-04T06:27:16+00:00</updated>
<author>
<name>Jeff Liu</name>
<email>jeff.liu@oracle.com</email>
</author>
<published>2012-02-09T06:42:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=65622e647bfff3ed89f95576ec120693ed4085a6'/>
<id>urn:sha1:65622e647bfff3ed89f95576ec120693ed4085a6</id>
<content type='text'>
Hello,

Since ENXIO only means "offset beyond EOF" for SEEK_DATA/SEEK_HOLE,
Hence we should return the internal error unchanged if ocfs2_inode_lock() or
ocfs2_get_clusters_nocache() call failed rather than ENXIO.
Otherwise, it will confuse the user applications when they trying to understand the root cause.

Thanks Dave for pointing this out.

Thanks,
-Jeff

Cc: Dave Chinner &lt;david@fromorbit.com&gt;
Signed-off-by: Jie Liu &lt;jeff.liu@oracle.com&gt;
Signed-off-by: Joel Becker &lt;jlbec@evilplan.org&gt;
</content>
</entry>
<entry>
<title>ocfs2: use spinlock irqsave for downconvert lock.patch</title>
<updated>2012-07-04T06:27:15+00:00</updated>
<author>
<name>Srinivas Eeda</name>
<email>srinivas.eeda@oracle.com</email>
</author>
<published>2012-01-31T05:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a75e9ccabd925d16954739bd977c54695c9310d0'/>
<id>urn:sha1:a75e9ccabd925d16954739bd977c54695c9310d0</id>
<content type='text'>
When ocfs2dc thread holds dc_task_lock spinlock and receives soft IRQ it
deadlock itself trying to get same spinlock in ocfs2_wake_downconvert_thread.
Below is the stack snippet.

The patch disables interrupts when acquiring dc_task_lock spinlock.

	ocfs2_wake_downconvert_thread
	ocfs2_rw_unlock
	ocfs2_dio_end_io
	dio_complete
	.....
	bio_endio
	req_bio_endio
	....
	scsi_io_completion
	blk_done_softirq
	__do_softirq
	do_softirq
	irq_exit
	do_IRQ
	ocfs2_downconvert_thread
	[kthread]

Signed-off-by: Srinivas Eeda &lt;srinivas.eeda@oracle.com&gt;
Signed-off-by: Joel Becker &lt;jlbec@evilplan.org&gt;
</content>
</entry>
<entry>
<title>ocfs2: Misplaced parens in unlikley</title>
<updated>2012-07-04T06:27:13+00:00</updated>
<author>
<name>roel</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2011-12-12T22:40:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=16865b7c42fbce8a4d2b278460e387e719e289cb'/>
<id>urn:sha1:16865b7c42fbce8a4d2b278460e387e719e289cb</id>
<content type='text'>
Fix misplaced parentheses

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: Joel Becker &lt;jlbec@evilplan.org&gt;
</content>
</entry>
<entry>
<title>ocfs2: clear unaligned io flag when dio fails</title>
<updated>2012-07-04T06:26:50+00:00</updated>
<author>
<name>Junxiao Bi</name>
<email>junxiao.bi@oracle.com</email>
</author>
<published>2012-06-27T09:09:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3e5d3c35a68c9a933bdbdd8685bd1a205b57e806'/>
<id>urn:sha1:3e5d3c35a68c9a933bdbdd8685bd1a205b57e806</id>
<content type='text'>
The unaligned io flag is set in the kiocb when an unaligned
dio is issued, it should be cleared even when the dio fails,
or it may affect the following io which are using the same
kiocb.

Signed-off-by: Junxiao Bi &lt;junxiao.bi@oracle.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Joel Becker &lt;jlbec@evilplan.org&gt;
</content>
</entry>
<entry>
<title>ocfs: simplify symlink handling</title>
<updated>2012-05-30T03:28:40+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2012-05-03T14:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1'/>
<id>urn:sha1:ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1</id>
<content type='text'>
seeing that "fast" symlinks still get allocation + copy, we might as
well simply switch them to pagecache-based variant of -&gt;follow_link();
just need an appropriate -&gt;readpage() for them...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ocfs2: kill endianness abuses in blockcheck.c</title>
<updated>2012-05-30T03:28:35+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2012-04-12T23:58:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1db5df98faaf7aa6c25bc7d9703342d13678452a'/>
<id>urn:sha1:1db5df98faaf7aa6c25bc7d9703342d13678452a</id>
<content type='text'>
ocfs2_block_check is for little-endian contents; if we just want to
its fields converted to host-endian in a couple of functions, just
put those values into local u32 and u16...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ocfs2: deal with __user misannotations</title>
<updated>2012-05-30T03:28:35+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2012-04-12T23:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f6a5690324d5ab9c33bbc0a6b4cc59c7fa34eeec'/>
<id>urn:sha1:f6a5690324d5ab9c33bbc0a6b4cc59c7fa34eeec</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ocfs2: trivial endianness misannotations</title>
<updated>2012-05-30T03:28:34+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2012-04-12T22:47:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8515841086d14594b24cdc8febdcc7fd1bbc313e'/>
<id>urn:sha1:8515841086d14594b24cdc8febdcc7fd1bbc313e</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
</feed>
