[compile problem] test2-pre5 reiserfs 3.6.9

From: Justin (jguyett@andrew.cmu.edu)
Date: Wed Jun 21 2000 - 18:53:48 EST


Fact 1:
include/asm-i386/atomic.h:#define atomic_read(v) ((v)->counter)

Fact 2:
in diff from reiserfs 3.6.8 to 3.6.9:
-+ if (inode->i_count != 1) {
++ if (atomic_read(&inode->i_count) > 1) {

(inode is of type inode *)

Fact 3:
struct inode {
...
        unsigned int i_count;
...
}

Was atomic_read defined differently in test1-ac18 (the version 3.6.9 was
diffed against)?

In any case, this needs to be fixed in reiserfs, unless test2-pre5 just
hasn't merged the proper changes in for reiserfs and they will be merged
before test2.

Justin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:23 EST