WARNING: at fs/dcache.c:1359 d_set_d_op [was: mmotm 2011-01-06-15-41uploaded]

From: Jiri Slaby
Date: Thu Jan 13 2011 - 04:52:45 EST


On 01/07/2011 12:41 AM, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> The mm-of-the-moment snapshot 2011-01-06-15-41 has been uploaded to

Hi, after some uptime and several suspend/resume cycles, I got:
WARNING: at fs/dcache.c:1359 d_set_d_op+0x82/0xb0()
Hardware name: To Be Filled By O.E.M.
Modules linked in: dvb_usb_af9015 tda18271 af9013 dvb_usb dvb_core
Pid: 3474, comm: automount Tainted: G W 2.6.37-mm1_64+ #1344
Call Trace:
[<ffffffff8106bd2a>] ? warn_slowpath_common+0x7a/0xb0
[<ffffffff8106bd75>] ? warn_slowpath_null+0x15/0x20
[<ffffffff81125a32>] ? d_set_d_op+0x82/0xb0
[<ffffffff8120d829>] ? autofs4_dir_mkdir+0x169/0x180
[<ffffffff8111caa8>] ? vfs_mkdir+0x78/0xa0
[<ffffffff811209e6>] ? sys_mkdirat+0xf6/0x110
[<ffffffff81120a13>] ? sys_mkdir+0x13/0x20
[<ffffffff81030dbb>] ? system_call_fastpath+0x16/0x1b

I changed those BUG_ONs to WARN_ONs intentionally because I had problems
with that previously -- I had to:
dentry->d_flags &= ~(DCACHE_OP_HASH | DCACHE_OP_COMPARE |
DCACHE_OP_REVALIDATE | DCACHE_OP_REVALIDATE_RCU |
DCACHE_OP_DELETE);

in d_set_d_op to not oops when calling NULLish op->d_delete later.


The "Tainted: G W" is caused by:
https://lkml.org/lkml/2011/1/10/63

regards,
--
js
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/