* [PATCH] proc: delete children_seq_release()
@ 2017-11-22 17:15 Alexey Dobriyan
2017-11-22 17:30 ` Cyrill Gorcunov
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2017-11-22 17:15 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, gorcunov
It is 1:1 wrapper around seq_release().
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
fs/proc/array.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -733,16 +733,10 @@ static int children_seq_open(struct inode *inode, struct file *file)
return ret;
}
-int children_seq_release(struct inode *inode, struct file *file)
-{
- seq_release(inode, file);
- return 0;
-}
-
const struct file_operations proc_tid_children_operations = {
.open = children_seq_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = children_seq_release,
+ .release = seq_release,
};
#endif /* CONFIG_PROC_CHILDREN */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] proc: delete children_seq_release()
2017-11-22 17:15 [PATCH] proc: delete children_seq_release() Alexey Dobriyan
@ 2017-11-22 17:30 ` Cyrill Gorcunov
0 siblings, 0 replies; 2+ messages in thread
From: Cyrill Gorcunov @ 2017-11-22 17:30 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: akpm, linux-kernel
On Wed, Nov 22, 2017 at 08:15:10PM +0300, Alexey Dobriyan wrote:
> It is 1:1 wrapper around seq_release().
>
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Thank you!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-22 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-22 17:15 [PATCH] proc: delete children_seq_release() Alexey Dobriyan
2017-11-22 17:30 ` Cyrill Gorcunov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.