inotify: use container_of instead of casting
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 01:12:06 +0000 (20:12 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:19 +0000 (09:58 -0400)
commit31ddd3268dcb6c1d70e9930a83be43bf86e4bf17
treea9ee0ac61f73e7dd6883d4466a56b79fe3e6e38b
parentb4277d3dd5a7400c1ea7fd4e7d64bda8899f84f5
inotify: use container_of instead of casting

inotify_free_mark casts directly from an fsnotify_mark_entry to an
inotify_inode_mark_entry.  This works, but should use container_of instead
for future proofing.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/inotify/inotify_user.c