Merge 5.5-rc1 into android-mainline
Linux 5.5-rc1 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I6f952ebdd40746115165a2f99bab340482f5c237
This commit is contained in:
@@ -1738,6 +1738,13 @@ int vfs_mkobj2(struct vfsmount *, struct dentry *, umode_t,
|
||||
|
||||
extern long vfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
|
||||
|
||||
#ifdef CONFIG_COMPAT
|
||||
extern long compat_ptr_ioctl(struct file *file, unsigned int cmd,
|
||||
unsigned long arg);
|
||||
#else
|
||||
#define compat_ptr_ioctl NULL
|
||||
#endif
|
||||
|
||||
/*
|
||||
* VFS file helper functions.
|
||||
*/
|
||||
@@ -2567,7 +2574,7 @@ extern int finish_no_open(struct file *file, struct dentry *dentry);
|
||||
|
||||
/* fs/ioctl.c */
|
||||
|
||||
extern int ioctl_preallocate(struct file *filp, void __user *argp);
|
||||
extern int ioctl_preallocate(struct file *filp, int mode, void __user *argp);
|
||||
|
||||
/* fs/dcache.c */
|
||||
extern void __init vfs_caches_init_early(void);
|
||||
@@ -2652,8 +2659,6 @@ extern void bd_finish_claiming(struct block_device *bdev,
|
||||
extern void bd_abort_claiming(struct block_device *bdev,
|
||||
struct block_device *whole, void *holder);
|
||||
extern void blkdev_put(struct block_device *bdev, fmode_t mode);
|
||||
extern int __blkdev_reread_part(struct block_device *bdev);
|
||||
extern int blkdev_reread_part(struct block_device *bdev);
|
||||
|
||||
#ifdef CONFIG_SYSFS
|
||||
extern int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk);
|
||||
@@ -2723,8 +2728,6 @@ extern void make_bad_inode(struct inode *);
|
||||
extern bool is_bad_inode(struct inode *);
|
||||
|
||||
#ifdef CONFIG_BLOCK
|
||||
extern void check_disk_size_change(struct gendisk *disk,
|
||||
struct block_device *bdev, bool verbose);
|
||||
extern int revalidate_disk(struct gendisk *);
|
||||
extern int check_disk_change(struct block_device *);
|
||||
extern int __invalidate_device(struct block_device *, bool);
|
||||
@@ -3175,7 +3178,6 @@ enum {
|
||||
};
|
||||
|
||||
void dio_end_io(struct bio *bio);
|
||||
void dio_warn_stale_pagecache(struct file *filp);
|
||||
|
||||
ssize_t __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode,
|
||||
struct block_device *bdev, struct iov_iter *iter,
|
||||
@@ -3220,6 +3222,11 @@ static inline void inode_dio_end(struct inode *inode)
|
||||
wake_up_bit(&inode->i_state, __I_DIO_WAKEUP);
|
||||
}
|
||||
|
||||
/*
|
||||
* Warn about a page cache invalidation failure diring a direct I/O write.
|
||||
*/
|
||||
void dio_warn_stale_pagecache(struct file *filp);
|
||||
|
||||
extern void inode_set_flags(struct inode *inode, unsigned int flags,
|
||||
unsigned int mask);
|
||||
|
||||
|
Reference in New Issue
Block a user