diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-06 14:07:08 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-06 14:07:08 -0400 |
| commit | 9022ca6b1129da44e3d5c4fa779b8bb9ceabe2ce (patch) | |
| tree | 6ff139aff1cf8a00cc057b7a706a81d91ee639ca /include/linux/fs.h | |
| parent | 38c23685b273cfb4ccf31a199feccce3bdcb5d83 (diff) | |
| parent | 0e11f6443f522f89509495b13ef1f3745640144d (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/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 5 |
1 files changed, 3 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 | ||
| 2021 | extern void __mark_inode_dirty(struct inode *, int); | 2022 | extern void __mark_inode_dirty(struct inode *, int); |
| @@ -2381,8 +2382,8 @@ struct audit_names; | |||
| 2381 | struct filename { | 2382 | struct 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 | ||
