At kernel assemblage linux-3.2.0-rc3+aufs3 :
fs/aufs/super.c: In function ‘alloc_root’:
fs/aufs/super.c:776:2: error: assignment of read-only member ‘i_nlink’
make[2]: *** [fs/aufs/super.o] Error 1
make[1]: *** [fs/aufs] Error 2
make: *** [fs] Error 2
in file linux-2.3.0-rc3/include/linux/fs.h :
* Filesystems may only read i_nlink directly. They shall use the
* following functions for modification:
*
* (set|clear|inc|drop)_nlink
* inode_(inc|dec)_link_count
At you in a file super.c it is told
"inode->i_nlink = 2;",
it can be necessary
"set_nlink(inode, 2);" ?
Similarly in files cpup.c, dir.c and i_op.c
Yours faithfully, Dmitry A.Ignatov
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d