Re: [PATCH] update kvm's anon_inodes.c for r/o bind mounts

From: Avi Kivity
Date: Sat Jul 19 2008 - 03:34:05 EST

Dave Hansen wrote:
That also reminds me. kvm somehow has an outdated copy of
anon_inodes.c. It needs to be updated for the r/o bind mount patches to
add a proper mnt_want/drop_write(). Otherwise, you'll run into warnings
about imbalanced mount writer counts. Something like this will do, but
it would be best to just stay up to date with mainline for this kind of

Instead I changed the code to use the host's anon_inodes when available. I also introduced a couple of bugs but the list fixed these quickly. Thanks list!

I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at