<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/ocfs2/cluster/netdebug.c, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-07-06T23:24:30Z</updated>
<entry>
<title>ocfs2: free 'dummy_sc' in sc_fop_release() to prevent memory leak</title>
<updated>2017-07-06T23:24:30Z</updated>
<author>
<name>piaojun</name>
</author>
<published>2017-07-06T22:36:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25b1c72e15b89bfcdcce11c5f61d729d87afe8c5'/>
<id>urn:sha1:25b1c72e15b89bfcdcce11c5f61d729d87afe8c5</id>
<content type='text'>
'sd-&gt;dbg_sock' is malloced in sc_common_open(), but not freed at the end
of sc_fop_release().

Link: http://lkml.kernel.org/r/594FB0A4.2050105@huawei.com
Signed-off-by: Jun Piao &lt;piaojun@huawei.com&gt;
Reviewed-by: Joseph Qi &lt;jiangqi903@gmail.com&gt;
Cc: Mark Fasheh &lt;mfasheh@versity.com&gt;
Cc: Joel Becker &lt;jlbec@evilplan.org&gt;
Cc: Junxiao Bi &lt;junxiao.bi@oracle.com&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>locking/atomic, kref: Add kref_read()</title>
<updated>2017-01-14T10:37:18Z</updated>
<author>
<name>Peter Zijlstra</name>
</author>
<published>2016-11-14T16:29:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c935bc57221cc2edc787c72ea0e2d30cdcd3d5e'/>
<id>urn:sha1:2c935bc57221cc2edc787c72ea0e2d30cdcd3d5e</id>
<content type='text'>
Since we need to change the implementation, stop exposing internals.

Provide kref_read() to read the current reference count; typically
used for debug messages.

Kills two anti-patterns:

	atomic_read(&amp;kref-&gt;refcount)
	kref-&gt;refcount.counter

Signed-off-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>fs/ocfs2/cluster/netdebug.c: use seq_open_private() not seq_open()</title>
<updated>2014-10-10T02:25:47Z</updated>
<author>
<name>Rob Jones</name>
</author>
<published>2014-10-09T22:25:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f32883384846e1d4aa941c60dd8adb44093359c6'/>
<id>urn:sha1:f32883384846e1d4aa941c60dd8adb44093359c6</id>
<content type='text'>
Reduce boilerplate code by using seq_open_private() instead of seq_open()

Note that the code in and using sc_common_open() has been quite
extensively changed.  Not least because there was a latent memory leak in
the code as was: if sc_common_open() failed, the previously allocated
buffer was not freed.

Signed-off-by: Rob Jones &lt;rob.jones@codethink.co.uk&gt;
Cc: Joel Becker &lt;jlbec@evilplan.org&gt;
Cc: Mark Fasheh &lt;mfasheh@suse.com&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>switch debugfs to umode_t</title>
<updated>2012-01-04T03:54:56Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-07-24T08:33:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4ae40a6a50a98ac23d4b285f739455e926a473e'/>
<id>urn:sha1:f4ae40a6a50a98ac23d4b285f739455e926a473e</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ocfs2/cluster: Add new function o2net_fill_node_map()</title>
<updated>2011-07-24T17:32:54Z</updated>
<author>
<name>Sunil Mushran</name>
</author>
<published>2011-07-24T17:32:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ba169ccec1c5ad0f678e04fd29b990197fdfe79'/>
<id>urn:sha1:3ba169ccec1c5ad0f678e04fd29b990197fdfe79</id>
<content type='text'>
Patch adds function o2net_fill_node_map() to return the bitmap of nodes that
it is connected to. This bitmap is also accessible by the user via the debugfs
file, /sys/kernel/debug/o2net/connected_nodes.

Signed-off-by: Sunil Mushran &lt;sunil.mushran@oracle.com&gt;
</content>
</entry>
<entry>
<title>ocfs2/cluster: dereferencing before checking in nst_seq_show()</title>
<updated>2011-01-08T02:02:03Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2011-01-03T06:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc548166b2aadba7a566fb0a42884a9d2ff684b0'/>
<id>urn:sha1:cc548166b2aadba7a566fb0a42884a9d2ff684b0</id>
<content type='text'>
In the original code, we dereferenced "nst" before checking that it was
non-NULL.  I moved the check forward and pulled the code in an indent
level.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
<entry>
<title>ocfs2/cluster: Show o2net timing statistics</title>
<updated>2010-12-23T02:40:38Z</updated>
<author>
<name>Sunil Mushran</name>
</author>
<published>2010-12-22T20:39:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db02754c8a1205b24beac70562c45ca5d671151f'/>
<id>urn:sha1:db02754c8a1205b24beac70562c45ca5d671151f</id>
<content type='text'>
Adds debugfs dentry o2net/stats to show the o2net timing statistics.

Signed-off-by: Sunil Mushran &lt;sunil.mushran@oracle.com&gt;
Signed-off-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
<entry>
<title>ocfs2/cluster: Use ktime instead of timeval in struct o2net_sock_container</title>
<updated>2010-12-23T02:37:57Z</updated>
<author>
<name>Sunil Mushran</name>
</author>
<published>2010-12-22T20:39:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ff1becbf85bf4d4d4652915b7ab27db949585f6b'/>
<id>urn:sha1:ff1becbf85bf4d4d4652915b7ab27db949585f6b</id>
<content type='text'>
Replace time trackers in struct o2net_sock_container from struct timeval to
union ktime.

Signed-off-by: Sunil Mushran &lt;sunil.mushran@oracle.com&gt;
Signed-off-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
<entry>
<title>ocfs2/cluster: Replace timeval with ktime in struct o2net_send_tracking</title>
<updated>2010-12-23T02:34:49Z</updated>
<author>
<name>Sunil Mushran</name>
</author>
<published>2010-12-22T20:39:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f9c14fab0a2e90af9995f261a123f59e0b41141'/>
<id>urn:sha1:3f9c14fab0a2e90af9995f261a123f59e0b41141</id>
<content type='text'>
Replace time trackers in struct o2net_send_tracking from struct timeval to
union ktime.

Signed-off-by: Sunil Mushran &lt;sunil.mushran@oracle.com&gt;
Signed-off-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
<entry>
<title>ocfs2/dlm: Minor cleanup</title>
<updated>2010-12-23T02:34:45Z</updated>
<author>
<name>Sunil Mushran</name>
</author>
<published>2010-12-21T00:35:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37096a7927decb0b1d3c2514b8adb4583a834112'/>
<id>urn:sha1:37096a7927decb0b1d3c2514b8adb4583a834112</id>
<content type='text'>
Patch makes use of task_pid_nr(). Also removes the null check before calling
debugfs_remove().

Signed-off-by: Sunil Mushran &lt;sunil.mushran@oracle.com&gt;
Signed-off-by: Joel Becker &lt;joel.becker@oracle.com&gt;
</content>
</entry>
</feed>
