Commit 26e13043 authored by Cihangir Akturk's avatar Cihangir Akturk Committed by Shaohua Li

md: replace seq_release_private with seq_release

Since commit f1514638 ("fs: seq_file - add event counter to simplify
poll() support"), md.c code has been no longer used the private field of
the struct seq_file, but seq_release_private() has been continued to be
used to release the allocated seq_file. This seems to have been
forgotten. So convert it to use seq_release() instead of
seq_release_private().
Signed-off-by: default avatarCihangir Akturk <cakturk@gmail.com>
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent 5492c46e
...@@ -7838,7 +7838,7 @@ static const struct file_operations md_seq_fops = { ...@@ -7838,7 +7838,7 @@ static const struct file_operations md_seq_fops = {
.open = md_seq_open, .open = md_seq_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.release = seq_release_private, .release = seq_release,
.poll = mdstat_poll, .poll = mdstat_poll,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment