http://oss.sgi.com/bugzilla/show_bug.cgi?id=220
Summary: POSTCREATE never fires
Product: Linux XFS
Version: 1.2.x
Platform: IA32
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Low
Component: dmapi
AssignedTo: xfs-master@xxxxxxxxxxx
ReportedBy: joshhelmer@xxxxxxx
If this is a userspace bug, what version of the package are you using:
What kernel are you using: 2.4.20-xfs
Where did the XFS code come from? (CVS, Linus, your distribution, etc): CVS
(last update 2/12/2003)
Description of Problem:
The test for determining if a POSTCREATE event needs to fire contains a minor
bug.
How Reproducible:
Steps to Reproduce:
1.
2.
3.
Actual Results:
Expected Results:
Additional Information:
--- xfs_vnodeops.c Thu Feb 13 16:32:44 2003
+++ xfs_vnodeops.c.new Thu Feb 13 16:32:23 2003
@@ -2115,7 +2115,7 @@
/* Fallthrough to std_return with error = 0 */
std_return:
- if ((error != 0) &&
+ if ((error == 0) &&
DM_EVENT_ENABLED(dir_vp->v_vfsp, XFS_BHVTOI(dir_bdp),
DM_EVENT_POSTCREATE)) {
(void) dm_send_namesp_event(DM_EVENT_POSTCREATE,
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|