vfs: use ERR_CAST for err-ptr tossing in lookup_instantiate_filp
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Sun, 17 Jul 2011 11:35:12 +0000 (15:35 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 22 Jul 2011 23:42:13 +0000 (19:42 -0400)
commit5a9a43646cf709312d71eca71cef90ad802f28f9
tree9083e5e4e5bb2e8ad3f3f039503e37629acb5ddc
parentd769b3c2ab7184ddd42056595b627cc871caa90e
vfs: use ERR_CAST for err-ptr tossing in lookup_instantiate_filp

Replace unclear (struct dentry *) to (struct file *) typecast with ERR_CAST() macro.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/open.c