On Thu, Jun 12, 2014 at 8:22 PM,  <sf...@users.sourceforge.net> wrote:
>         simple_xattrs_free(&info->xattrs);
>         WARN_ON(inode->i_blocks);
>         if (inode->i_ino) {
> +               int i = inode->i_ino;
>                 mutex_lock(&sbinfo->idr_lock);
> -               idr_remove(&sbinfo->idr, inode->i_ino);
> +               idr_remove(&sbinfo->idr, i);
>                 mutex_unlock(&sbinfo->idr_lock);
>         }
>         shmem_free_inode(inode->i_sb);
>         clear_inode(inode);
>
>
> J. R. Okajima


Looks the same:

[   53.204937] ------------[ cut here ]------------
[   53.204949] WARNING: CPU: 0 PID: 1250 at lib/idr.c:527
idr_remove.part.6+0x1fb/0x200()
[   53.204952] idr_remove called for id=32768 which is not allocated.
[   53.204953] Modules linked in: pci_stub vboxpci(O) vboxnetadp(O)
vboxnetflt(O) vboxdrv(O) msr cpufreq_stats snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss
rfcomm bnep xt_multiport ip6t_REJECT ip6table_filter ip6_tables ipv6
ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables sierra
usbserial tp_smapi(O) thinkpad_ec(O) comedi_parport(C) comedi(C)
pcmcia pcmcia_core cpufreq_ondemand speedstep_lib hid_generic btusb
usbhid hid bluetooth bonding fuse joydev iwldvm mac80211 i915 iwlwifi
snd_hda_codec_analog e1000e i2c_dev snd_hda_intel drm_kms_helper drm
snd_hda_codec snd_hwdep thinkpad_acpi cfg80211 ptp i2c_algo_bit
pps_core i2c_i801 snd_pcm i2c_core lpc_ich ehci_pci uhci_hcd
snd_page_alloc evdev ehci_hcd nvram snd_timer xhci_hcd snd intel_agp
intel_gtt agpgart phc_intel(O) psmouse serio_raw ac soundcore battery
rfkill processor video thermal thermal_sys tpm_tis tpm tpm_bios
freq_table hwmon button nilfs2 loop squashfs aufs ext4 mbcache jbd2
[   53.205038] CPU: 0 PID: 1250 Comm: X Tainted: G         C O 3.12.22-smp #3
[   53.205040] Hardware name: LENOVO 1951Y2C/1951Y2C, BIOS 79ETE7WW
(2.27 ) 03/21/2011
[   53.205043]  00000000 00000000 f1b4de3c c14a80c7 f1b4de7c f1b4de6c
c104281e c162c9a4
[   53.205048]  f1b4de98 000004e2 c162c98a 0000020f c120d26b c120d26b
f1b4dea8 f502de18
[   53.205054]  00008000 f1b4de84 c1042873 00000009 f1b4de7c c162c9a4
f1b4de98 f1b4dec4
[   53.205059] Call Trace:
[   53.205066]  [<c14a80c7>] dump_stack+0x41/0x52
[   53.205072]  [<c104281e>] warn_slowpath_common+0x7e/0xa0
[   53.205075]  [<c120d26b>] ? idr_remove.part.6+0x1fb/0x200
[   53.205078]  [<c120d26b>] ? idr_remove.part.6+0x1fb/0x200
[   53.205082]  [<c1042873>] warn_slowpath_fmt+0x33/0x40
[   53.205085]  [<c120d26b>] idr_remove.part.6+0x1fb/0x200
[   53.205089]  [<c1101bef>] ? shmem_truncate_range+0x2f/0x50
[   53.205093]  [<c120d27c>] idr_remove+0xc/0x10
[   53.205096]  [<c1101c9b>] shmem_evict_inode+0x8b/0x160
[   53.205100]  [<c11512c2>] evict+0x92/0x160
[   53.205103]  [<c1151944>] iput+0xb4/0x130
[   53.205108]  [<c114da7f>] dentry_kill+0x12f/0x170
[   53.205111]  [<c114db1b>] dput+0x5b/0xf0
[   53.205115]  [<c113c0cb>] __fput+0x13b/0x1f0
[   53.205118]  [<c113c1bd>] ____fput+0xd/0x10
[   53.205123]  [<c105cda1>] task_work_run+0x91/0xb0
[   53.205127]  [<c1002281>] do_notify_resume+0x51/0x80
[   53.205131]  [<c14ada23>] work_notifysig+0x24/0x29
[   53.205133] ---[ end trace d7eec0217c475b7f ]---
[   53.240823] ------------[ cut here ]------------


$ dmesg | grep id=
[   53.204952] idr_remove called for id=32768 which is not allocated.
[   53.240838] idr_remove called for id=65537 which is not allocated.
[   53.246635] idr_remove called for id=98304 which is not allocated.
[   59.169593] idr_remove called for id=131072 which is not allocated.
[   59.183967] idr_remove called for id=163841 which is not allocated.
[   59.882019] idr_remove called for id=196608 which is not allocated.
[   61.239966] idr_remove called for id=229376 which is not allocated.
[   67.993657] idr_remove called for id=262144 which is not allocated.
[   67.994230] idr_remove called for id=294912 which is not allocated.
[   79.855293] idr_remove called for id=819215 which is not allocated.
[   94.630989] idr_remove called for id=950288 which is not allocated.
[  191.190601] idr_remove called for id=1212436 which is not allocated.
[  209.558225] idr_remove called for id=1277972 which is not allocated.
[  211.714141] idr_remove called for id=20 which is not allocated.
[  383.344299] idr_remove called for id=1343508 which is not allocated.
[  386.634286] idr_remove called for id=1474583 which is not allocated.
[  386.635156] idr_remove called for id=1409045 which is not allocated.
[  434.187692] idr_remove called for id=1605655 which is not allocated.
[  434.500522] idr_remove called for id=1736729 which is not allocated.
[  434.538023] idr_remove called for id=1671191 which is not allocated.
[  434.596881] idr_remove called for id=1802263 which is not allocated.
[  436.879218] idr_remove called for id=1867799 which is not allocated.
[  440.088361] idr_remove called for id=20 which is not allocated.
[  440.089216] idr_remove called for id=20 which is not allocated.

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems

Reply via email to