#include #include #include /* struct kmem_cache */ struct inotify_event_info { struct fsnotify_event fse; int wd; u32 sync_cookie; int name_len; char name[]; }; struct inotify_inode_mark { struct fsnotify_mark fsn_mark; int wd; }; static inline struct inotify_event_info *INOTIFY_E(struct fsnotify_event *fse) { return container_of(fse, struct inotify_event_info, fse); } extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group); extern int inotify_handle_event(struct fsnotify_group *group, struct inode *inode, struct fsnotify_mark *inode_mark, struct fsnotify_mark *vfsmount_mark, u32 mask, const void *data, int data_type, const unsigned char *file_name, u32 cookie); extern const struct fsnotify_ops inotify_fsnotify_ops; net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
>2016-04-26 12:03:12 +0300
committerTejun Heo <tj@kernel.org>2016-05-10 12:29:19 -0400
commit2d20da00c324b9a4dd1c4ab9429a6376e7f4b735 (patch)
treef3d9edf8f016f136ce8e1631e1b696ec89c57db5
parent0f48debdb90601ec37cdcb81f796ca120aae60f4 (diff)
ata: sata_dwc_460ex: get rid of global data
This moves all global data into the driver private struct, thus permitting multiple devices of this type to be used. The core_scr_read/write() functions are replaced with equivalent calls to the existing sata_dwc_scr_read/write(). Tested-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Tejun Heo <tj@kernel.org>