Re: [PATCH 16/23] seq_file: switch over direct seq_read method calls to seq_read_iter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 02, 2020 at 11:46:17AM +0200, Miguel Ojeda wrote:
> Hi Christoph,
> 
> On Wed, Jul 1, 2020 at 10:25 PM Christoph Hellwig <hch@xxxxxx> wrote:
> >
> > Switch over all instances used directly as methods using these sed
> > expressions:
> >
> > sed -i -e 's/\.read\(\s*=\s*\)seq_read/\.read_iter\1seq_read_iter/g'
> >
> > Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> 
> Nit: the replacements don't take into account the spaces/tabs needed
> to align the designated initializers.

Do you have a suggestion for an automated replacement which does?
I'll happily switch over to that.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux