Skip to content

Commit 26e1304

Browse files
cakturkshligit
authored andcommitted
md: replace seq_release_private with seq_release
Since commit f151463 ("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 <[email protected]> Signed-off-by: Shaohua Li <[email protected]>
1 parent 5492c46 commit 26e1304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/md/md.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7838,7 +7838,7 @@ static const struct file_operations md_seq_fops = {
78387838
.open = md_seq_open,
78397839
.read = seq_read,
78407840
.llseek = seq_lseek,
7841-
.release = seq_release_private,
7841+
.release = seq_release,
78427842
.poll = mdstat_poll,
78437843
};
78447844

0 commit comments

Comments
 (0)