aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-04-06 14:07:08 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-06 14:07:08 -0400
commit9022ca6b1129da44e3d5c4fa779b8bb9ceabe2ce (patch)
tree6ff139aff1cf8a00cc057b7a706a81d91ee639ca /include
parent38c23685b273cfb4ccf31a199feccce3bdcb5d83 (diff)
parent0e11f6443f522f89509495b13ef1f3745640144d (diff)
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc vfs updates from Al Viro: "Assorted stuff, including Christoph's I_DIRTY patches" * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fs: move I_DIRTY_INODE to fs.h ubifs: fix bogus __mark_inode_dirty(I_DIRTY_SYNC | I_DIRTY_DATASYNC) call ntfs: fix bogus __mark_inode_dirty(I_DIRTY_SYNC | I_DIRTY_DATASYNC) call gfs2: fix bogus __mark_inode_dirty(I_DIRTY_SYNC | I_DIRTY_DATASYNC) calls fs: fold open_check_o_direct into do_dentry_open vfs: Replace stray non-ASCII homoglyph characters with their ASCII equivalents vfs: make sure struct filename->iname is word-aligned get rid of pointless includes of fs_struct.h [poll] annotate SAA6588_CMD_POLL users
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h5
-rw-r--r--include/media/i2c/saa6588.h1
2 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 070807ce3e41..0d798052bd85 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2015,7 +2015,8 @@ static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp)
2015#define I_WB_SWITCH (1 << 13) 2015#define I_WB_SWITCH (1 << 13)
2016#define I_OVL_INUSE (1 << 14) 2016#define I_OVL_INUSE (1 << 14)
2017 2017
2018#define I_DIRTY (I_DIRTY_SYNC | I_DIRTY_DATASYNC | I_DIRTY_PAGES) 2018#define I_DIRTY_INODE (I_DIRTY_SYNC | I_DIRTY_DATASYNC)
2019#define I_DIRTY (I_DIRTY_INODE | I_DIRTY_PAGES)
2019#define I_DIRTY_ALL (I_DIRTY | I_DIRTY_TIME) 2020#define I_DIRTY_ALL (I_DIRTY | I_DIRTY_TIME)
2020 2021
2021extern void __mark_inode_dirty(struct inode *, int); 2022extern void __mark_inode_dirty(struct inode *, int);
@@ -2381,8 +2382,8 @@ struct audit_names;
2381struct filename { 2382struct filename {
2382 const char *name; /* pointer to actual string */ 2383 const char *name; /* pointer to actual string */
2383 const __user char *uptr; /* original userland pointer */ 2384 const __user char *uptr; /* original userland pointer */
2384 struct audit_names *aname;
2385 int refcnt; 2385 int refcnt;
2386 struct audit_names *aname;
2386 const char iname[]; 2387 const char iname[];
2387}; 2388};
2388 2389
diff --git a/include/media/i2c/saa6588.h b/include/media/i2c/saa6588.h
index b5ec1aa60ed5..a0825f532f71 100644
--- a/include/media/i2c/saa6588.h
+++ b/include/media/i2c/saa6588.h
@@ -32,6 +32,7 @@ struct saa6588_command {
32 unsigned char __user *buffer; 32 unsigned char __user *buffer;
33 struct file *instance; 33 struct file *instance;
34 poll_table *event_list; 34 poll_table *event_list;
35 __poll_t poll_mask;
35}; 36};
36 37
37/* These ioctls are internal to the kernel */ 38/* These ioctls are internal to the kernel */