diff options
Diffstat (limited to 'fs/notify/fsnotify.h')
| -rw-r--r-- | fs/notify/fsnotify.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/notify/fsnotify.h b/fs/notify/fsnotify.h index caeee042d1cc..7902653dd577 100644 --- a/fs/notify/fsnotify.h +++ b/fs/notify/fsnotify.h | |||
| @@ -9,14 +9,16 @@ | |||
| 9 | 9 | ||
| 10 | #include "../mount.h" | 10 | #include "../mount.h" |
| 11 | 11 | ||
| 12 | static inline struct inode *fsnotify_obj_inode(fsnotify_connp_t *connp) | 12 | static inline struct inode *fsnotify_conn_inode( |
| 13 | struct fsnotify_mark_connector *conn) | ||
| 13 | { | 14 | { |
| 14 | return container_of(connp, struct inode, i_fsnotify_marks); | 15 | return container_of(conn->obj, struct inode, i_fsnotify_marks); |
| 15 | } | 16 | } |
| 16 | 17 | ||
| 17 | static inline struct mount *fsnotify_obj_mount(fsnotify_connp_t *connp) | 18 | static inline struct mount *fsnotify_conn_mount( |
| 19 | struct fsnotify_mark_connector *conn) | ||
| 18 | { | 20 | { |
| 19 | return container_of(connp, struct mount, mnt_fsnotify_marks); | 21 | return container_of(conn->obj, struct mount, mnt_fsnotify_marks); |
| 20 | } | 22 | } |
| 21 | 23 | ||
| 22 | /* destroy all events sitting in this groups notification queue */ | 24 | /* destroy all events sitting in this groups notification queue */ |
