diff mbox series

fs: s/__u32/u32/ for s_fsnotify_mask

Message ID 20240822-anwerben-nutzung-1cd6c82a565f@brauner (mailing list archive)
State New
Headers show
Series fs: s/__u32/u32/ for s_fsnotify_mask | expand

Commit Message

Christian Brauner Aug. 22, 2024, 9:30 a.m. UTC
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(-)

Comments

Jan Kara Aug. 28, 2024, 10:59 a.m. UTC | #1
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 mbox series

Patch

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