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>
Thu, 16 Jun 2011 22:43:18 +0000 (15:43 -0700)
commit7ddbfe825ec5fc272d4dc6bb2c6bf0ce0baaa66c
tree807b339c645b3d6b39132aa514811562f3cf0711
parent0dafcf0b785bc08cf922ed9f956f2dbf7080a41e
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