aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-03-26 18:29:41 +0200
committerDavid Sterba <dsterba@suse.com>2018-03-31 02:01:07 +0200
commit38e82de8ccd1878fb5f8371b8a6f455a6bbd0325 (patch)
treeabc52bd42b346e983159e741b6b7b55d743ef3af /fs/btrfs
parentbtrfs: split dev-replace locking helpers for read and write (diff)
downloadlinux-dev-38e82de8ccd1878fb5f8371b8a6f455a6bbd0325.tar.xz
linux-dev-38e82de8ccd1878fb5f8371b8a6f455a6bbd0325.zip
btrfs: user proper type for btrfs_mask_flags flags
All users pass a local unsigned int and not the __uXX types that are supposed to be used for userspace interfaces. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 8c3ff75cbdd4..ac85e07f567b 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -106,7 +106,7 @@ static int btrfs_clone(struct inode *src, struct inode *inode,
int no_time_update);
/* Mask out flags that are inappropriate for the given type of inode. */
-static inline __u32 btrfs_mask_flags(umode_t mode, __u32 flags)
+static unsigned int btrfs_mask_flags(umode_t mode, unsigned int flags)
{
if (S_ISDIR(mode))
return flags;