The AtomicIncWithWrap() routine was returning the post-
increment value, it's supposed to return pre-increment.
This only affects vnode tracing & AG selection.
Modid: 2.3.99pre2-xfs:slinx:59815a
Date: Tue Apr 25 18:58:14 PDT 2000
Workarea: tiki.americas.sgi.com:/data/clink/io/jtk/work-linux2.3-99
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.3.99pre2-xfs
linux/fs/xfs/linux/xfs_sema.h - 1.22
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_sema.h.diff?r1=text&tr1=1.22&r2=text&tr2=1.21&f=h
- Fix the return value provided by atomicIncWithWrap().
|