linux-next: build warnings after merge of the vfs-scale tree

From: Stephen Rothwell
Date: Wed Dec 22 2010 - 18:52:46 EST


Hi Nick,

After merging the vfs-scale tree, today's linux-next build (x86_64
allmodconfig) produced these warning:

fs/ceph/dir.c: In function 'ceph_init_dentry':
fs/ceph/dir.c:45: warning: passing argument 1 of 'd_set_d_op' from incompatible pointer type
include/linux/dcache.h:235: note: expected 'struct dentry *' but argument is of type 'const struct dentry_operations *'
fs/ceph/dir.c:47: warning: passing argument 1 of 'd_set_d_op' from incompatible pointer type
include/linux/dcache.h:235: note: expected 'struct dentry *' but argument is of type 'const struct dentry_operations *'
fs/ceph/dir.c:49: warning: passing argument 1 of 'd_set_d_op' from incompatible pointer type
include/linux/dcache.h:235: note: expected 'struct dentry *' but argument is of type 'const struct dentry_operations *'

Introduced by commit 08726ff2deede1a5ae5fdfd0092538f01f22eb19 ("fs:
dcache reduce branches in lookup path").
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature