Skip to content

Commit

Permalink
mips: single_open() leaks
Browse files Browse the repository at this point in the history
Cc: [email protected]
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed May 5, 2013
1 parent 7540146 commit acf300d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/mips/kernel/smtc-proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static const struct file_operations smtc_proc_fops = {
.open = smtc_proc_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release,
.release = single_release,
};

void init_smtc_stats(void)
Expand Down
4 changes: 2 additions & 2 deletions arch/mips/pci/ops-pmcmsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static const struct file_operations msp_pci_rd_cnt_fops = {
.open = msp_pci_rd_cnt_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release,
.release = single_release,
};

/*****************************************************************************
Expand Down Expand Up @@ -169,7 +169,7 @@ static const struct file_operations gen_pci_cfg_wr_fops = {
.open = gen_pci_cfg_wr_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release,
.release = single_release,
};

/*****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/sibyte/sb1250/bus_watcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static const struct file_operations bw_proc_fops = {
.open = bw_proc_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release,
.release = single_release,
};

static void create_proc_decoder(struct bw_stats_struct *stats)
Expand Down

0 comments on commit acf300d

Please sign in to comment.