[Bugs] [Bug 1176393] New: marker: inode_path is being called on the inodes not yet linked
bugzilla at redhat.com
bugzilla at redhat.com
Sun Dec 21 09:21:55 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1176393
Bug ID: 1176393
Summary: marker: inode_path is being called on the inodes not
yet linked
Product: GlusterFS
Version: mainline
Component: quota
Assignee: bugs at gluster.org
Reporter: rabhat at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
in marker_readdirp_cbk inode_path is being called on the inodes that are not
yet linked to the inode table. If glusterfs was built with DDEBUG, then it
leads to process being asserted. Otherwise, building loc for xattr operation
fails and might cause problems.
list_for_each_entry (entry, &entries->list, list) {
if ((strcmp (entry->d_name, ".") == 0) ||
(strcmp (entry->d_name, "..") == 0))
continue;
ret = marker_inode_loc_fill (entry->inode,
entry->d_name, &loc);
if (ret) {
gf_log (this->name, GF_LOG_WARNING, "Couln't build "
"loc for %s/%s",
uuid_utoa (local->loc.inode->gfid),
entry->d_name);
continue;
}
mq_xattr_state (this, &loc, entry->dict, entry->d_stat);
loc_wipe (&loc);
}
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list