Re: [PATCH 14/34] sysfs, kernfs: prepare read path for kernfs

2013-10-27 Thread Tejun Heo
On Sat, Oct 26, 2013 at 01:32:21PM +0200, Pavel Machek wrote: > Hi! > > > We're in the process of separating out core sysfs functionality into > > kernfs which will deal with sysfs_dirents directly. This patch > > rearranges read path so that the kernfs and sysfs parts are separate. > > > +stati

Re: [PATCH 14/34] sysfs, kernfs: prepare read path for kernfs

2013-10-26 Thread Pavel Machek
Hi! > We're in the process of separating out core sysfs functionality into > kernfs which will deal with sysfs_dirents directly. This patch > rearranges read path so that the kernfs and sysfs parts are separate. > +static int sysfs_kf_seq_show(struct seq_file *sf, void *v) > { > struct sy

[PATCH 14/34] sysfs, kernfs: prepare read path for kernfs

2013-10-24 Thread Tejun Heo
We're in the process of separating out core sysfs functionality into kernfs which will deal with sysfs_dirents directly. This patch rearranges read path so that the kernfs and sysfs parts are separate. * Regular file read path is refactored such that kernfs_seq_start/next/stop/show() handle all