diff options
Diffstat (limited to 'fs/fcntl.c')
| -rw-r--r-- | fs/fcntl.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c index 3d40771e8e7c..9bc167562ee8 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c @@ -261,7 +261,7 @@ static int f_getowner_uids(struct file *filp, unsigned long arg)  static bool rw_hint_valid(enum rw_hint hint)  {  	switch (hint) { -	case RWF_WRITE_LIFE_NOT_SET: +	case RWH_WRITE_LIFE_NOT_SET:  	case RWH_WRITE_LIFE_NONE:  	case RWH_WRITE_LIFE_SHORT:  	case RWH_WRITE_LIFE_MEDIUM: @@ -277,7 +277,7 @@ static long fcntl_rw_hint(struct file *file, unsigned int cmd,  			  unsigned long arg)  {  	struct inode *inode = file_inode(file); -	u64 *argp = (u64 __user *)arg; +	u64 __user *argp = (u64 __user *)arg;  	enum rw_hint hint;  	u64 h;  |