Re: [Cluster-devel] [PATCH v2 1/8] seq_file: introduce seq_open_data helper

2018-08-20 Thread Andy Shevchenko
On Sat, Aug 18, 2018 at 4:26 PM Rasmus Villemoes wrote: > > There are quite a few callers of seq_open that could be simplified by > setting the ->private member via the seq_open call instead of fetching > file->private_data afterwards. > I like this series, Reviewed-by: Andy Shevchenko P.S. ...

[Cluster-devel] [PATCH v2 1/8] seq_file: introduce seq_open_data helper

2018-08-20 Thread Rasmus Villemoes
There are quite a few callers of seq_open that could be simplified by setting the ->private member via the seq_open call instead of fetching file->private_data afterwards. Signed-off-by: Rasmus Villemoes --- v2: - Fix some copy-pastos spotted by Andreas. - Ensure everybody hit by an example patch