fs: s/__u32/u32/ for s_fsnotify_mask
Christian Brauner
maintainerPATCH 1/1 fs: s/__u32/u32/ for s_fsnotify_mask
The underscore variants are for uapi whereas the non-underscore variants are for in-kernel consumers.
Signed-off-by Christian Brauner <[email protected]>
--- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/fs.h +1 -1
@@ -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
Signature · 1 line
2.43.0
Quoted 4 lines · Christian Brauner
The underscore variants are for uapi whereas the non-underscore variants are for in-kernel consumers.
Signed-off-by Christian Brauner <[email protected]>
I didn't know this :). Sure. Feel free to add:
Reviewed-by Jan Kara <[email protected]>
Honza
Quoted 20 lines
--- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/fs.h +1
-1@@ -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 Signature · 1 line
2.43.0
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR