summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2014-09-10 09:40:20 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2014-09-10 09:40:20 +1000
commit57520fa0f34d8f022797b222e0171aa7ea230213 (patch)
treeebce4b64c214b0bc73537ffe19a2dcf9d042c883 /fs
parentd30b75b63989d29d57fa93d94d63e23613f5423b (diff)
fs-proc-task_nommuc-shift-mm_access-from-m_start-to-proc_maps_open-checkpatch-fixes
WARNING: Missing a blank line after declarations #46: FILE: fs/proc/task_nommu.c:280: + int err = PTR_ERR(priv->mm); + seq_release_private(inode, file); total: 0 errors, 1 warnings, 57 lines checked ./patches/fs-proc-task_nommuc-shift-mm_access-from-m_start-to-proc_maps_open.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/task_nommu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/task_nommu.c b/fs/proc/task_nommu.c
index 003f2bebeb13..4f2d66942391 100644
--- a/fs/proc/task_nommu.c
+++ b/fs/proc/task_nommu.c
@@ -277,6 +277,7 @@ static int maps_open(struct inode *inode, struct file *file,
priv->mm = proc_mem_open(inode, PTRACE_MODE_READ);
if (IS_ERR(priv->mm)) {
int err = PTR_ERR(priv->mm);
+
seq_release_private(inode, file);
return err;
}