Unionfs: cache-coherency fixes
authorErez_Zadok <ezk@cs.sunysb.edu>
Thu, 20 Sep 2007 03:52:18 +0000 (23:52 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Wed, 20 May 2009 20:59:18 +0000 (16:59 -0400)
commit6cef3fd8969459186685003a19596c960b2e8530
tree172f5cd8f432df7f48325dd55a0798266bc8b96c
parentd952d803fe31360ab78a02efc92ee5e135893d09
Unionfs: cache-coherency fixes

Do not update mtime if there is no upper branch for the inode.  This
prevents from calling unionfs_lower_inode_idx() with a negative index, which
triggers a bug.

Signed-off-by: Olivier Blin <blino@mandriva.com>
Acked-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/fanout.h