projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e79cb8
)
btrfs: user proper type for btrfs_mask_flags flags
author
David Sterba
<dsterba@suse.com>
Mon, 26 Mar 2018 16:29:41 +0000
(18:29 +0200)
committer
David Sterba
<dsterba@suse.com>
Sat, 31 Mar 2018 00:01:07 +0000
(
02:01
+0200)
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>
fs/btrfs/ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/ioctl.c
b/fs/btrfs/ioctl.c
index 8c3ff75cbdd4b4f3521dd5da545bcd5456f2aa24..ac85e07f567b5b3cb0bd7c0516e4ec8155f6ccf8 100644
(file)
--- 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;