summaryrefslogtreecommitdiffstats
path: root/fs
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
parent7e79cb86be28ed8073870c22f479b3b1293ecb85 (diff)
downloadlinux-stable-38e82de8ccd1878fb5f8371b8a6f455a6bbd0325.tar.gz
linux-stable-38e82de8ccd1878fb5f8371b8a6f455a6bbd0325.tar.bz2
linux-stable-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')
-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;