aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorCihangir Akturk <cakturk@gmail.com>2017-07-29 19:52:45 +0300
committerShaohua Li <shli@fb.com>2017-08-25 10:21:45 -0700
commit26e13043b7ea14c0b038f3f5a4af0d5cdda9e95f (patch)
treefb44d595fb492ff7a5af3c665cbf09efdaeb2f4d /drivers/md/md.c
parentmd: notify about new spare disk in the container (diff)
downloadlinux-dev-26e13043b7ea14c0b038f3f5a4af0d5cdda9e95f.tar.xz
linux-dev-26e13043b7ea14c0b038f3f5a4af0d5cdda9e95f.zip
md: replace seq_release_private with seq_release
Since commit f15146380d28 ("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: Cihangir Akturk <cakturk@gmail.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to '')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 95c0b644a5b9..a74dc9963822 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -7838,7 +7838,7 @@ static const struct file_operations md_seq_fops = {
.open = md_seq_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release_private,
+ .release = seq_release,
.poll = mdstat_poll,
};