On 10.07.2013 10:16, Claude Buisson wrote:
On 07/10/2013 17:05, Pedro Giffuni wrote:
Hello guys;

Thank for finding this, however ...


<snip>


While I understand this change caused the issue and I am willing to
revert it,
I think the problem is actually in NFS. At least ext2/3/4 and fuse (so I
presume
glusterfs) have unsigned i_gen.


I have the same thinking (and was rather astonished by the success of my try at reverting it): there is something somewhere in the NFS code which have not been
synced with the UFS change.

It is the reason I CC'ed rmacklem@

Pedro.


Claude Buisson

I found a missing type change. Can you try the attached patch?

Cheers,

Pedro.
Index: sys/ufs/ufs/inode.h
===================================================================
--- sys/ufs/ufs/inode.h (revision 253159)
+++ sys/ufs/ufs/inode.h (working copy)
@@ -180,7 +180,7 @@
        u_int16_t ufid_len;     /* Length of structure. */
        u_int16_t ufid_pad;     /* Force 32-bit alignment. */
        uint32_t  ufid_ino;     /* File number (ino). */
-       int32_t   ufid_gen;     /* Generation number. */
+       uint32_t  ufid_gen;     /* Generation number. */
 };
 #endif /* _KERNEL */
 
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to