I've split out the writecount handling and changed it around so that underlying layers are consistent and yet leases work correctly on overlayfs. Also pushed to the tip of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-next Thanks, Miklos --- Miklos Szeredi (3): locks: fix file locking on overlayfs vfs: make argument of d_real_inode() const vfs: do get_write_access() on upper layer of overlayfs fs/locks.c | 53 ++++++++++++++++++++++++++++--------------------- fs/namespace.c | 2 +- fs/open.c | 17 +++++++++++++--- fs/overlayfs/super.c | 2 +- include/linux/dcache.h | 5 +++-- include/linux/fs.h | 16 +++++++++++++-- include/uapi/linux/fs.h | 1 + 7 files changed, 64 insertions(+), 32 deletions(-) -- 2.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html