[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240713180612.126523-1-mohitpawar@mitaoe.ac.in>
Date: Sat, 13 Jul 2024 23:36:12 +0530
From: mohitpawar@...aoe.ac.in
To: viro@...iv.linux.org.uk
Cc: brauner@...nel.org,
jack@...e.cz,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
Mohit0404 <mohitpawar@...aoe.ac.in>
Subject: [PATCH 3/3] Fixed: fs: file_table_c: Missing blank line warnings
From: Mohit0404 <mohitpawar@...aoe.ac.in>
Fixed-
WARNING: Missing a blank line after declarations
WARNING: Missing a blank line after declarations
---
fs/file_table.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/file_table.c b/fs/file_table.c
index 4f03beed4737..9950293535e4 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -136,6 +136,7 @@ static int __init init_fs_stat_sysctls(void)
register_sysctl_init("fs", fs_stat_sysctls);
if (IS_ENABLED(CONFIG_BINFMT_MISC)) {
struct ctl_table_header *hdr;
+
hdr = register_sysctl_mount_point("fs/binfmt_misc");
kmemleak_not_leak(hdr);
}
@@ -384,6 +385,7 @@ struct file *alloc_file_clone(struct file *base, int flags,
const struct file_operations *fops)
{
struct file *f = alloc_file(&base->f_path, flags, fops);
+
if (!IS_ERR(f)) {
path_get(&f->f_path);
f->f_mapping = base->f_mapping;
--
2.34.1
Powered by blists - more mailing lists