Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 681c46b1 authored by Xu Cang's avatar Xu Cang Committed by Theodore Ts'o
Browse files

ext4: add "static" to ext4_seq_##name##_fops struct



to fix sparse warning, add static to ext4_seq_##name##_fops struct.

Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 5a1c7f47
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -358,7 +358,7 @@ static int name##_open(struct inode *inode, struct file *file) \
	return single_open(file, ext4_seq_##name##_show, PDE_DATA(inode)); \
	return single_open(file, ext4_seq_##name##_show, PDE_DATA(inode)); \
} \
} \
\
\
const struct file_operations ext4_seq_##name##_fops = { \
static const struct file_operations ext4_seq_##name##_fops = { \
	.owner		= THIS_MODULE, \
	.owner		= THIS_MODULE, \
	.open		= name##_open, \
	.open		= name##_open, \
	.read		= seq_read, \
	.read		= seq_read, \