Message ID | 20240822-anwerben-nutzung-1cd6c82a565f@brauner (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | fs: s/__u32/u32/ for s_fsnotify_mask | expand |
On Thu 22-08-24 11:30:58, Christian Brauner wrote: > The underscore variants are for uapi whereas the non-underscore variants > are for in-kernel consumers. > > Signed-off-by: Christian Brauner <brauner@kernel.org> I didn't know this :). Sure. Feel free to add: Reviewed-by: Jan Kara <jack@suse.cz> Honza > --- > include/linux/fs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/fs.h b/include/linux/fs.h > index 23e7d46b818a..7eb4f706d59f 100644 > --- a/include/linux/fs.h > +++ b/include/linux/fs.h > @@ -1273,7 +1273,7 @@ struct super_block { > time64_t s_time_min; > time64_t s_time_max; > #ifdef CONFIG_FSNOTIFY > - __u32 s_fsnotify_mask; > + u32 s_fsnotify_mask; > struct fsnotify_sb_info *s_fsnotify_info; > #endif > > -- > 2.43.0 >
diff --git a/include/linux/fs.h b/include/linux/fs.h index 23e7d46b818a..7eb4f706d59f 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1273,7 +1273,7 @@ struct super_block { time64_t s_time_min; time64_t s_time_max; #ifdef CONFIG_FSNOTIFY - __u32 s_fsnotify_mask; + u32 s_fsnotify_mask; struct fsnotify_sb_info *s_fsnotify_info; #endif
The underscore variants are for uapi whereas the non-underscore variants are for in-kernel consumers. Signed-off-by: Christian Brauner <brauner@kernel.org> --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)