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>
Sun, 23 Feb 2014 19:04:07 +0000 (14:04 -0500)
commita23dc869b63e77080b315f8a11519232969ad1a7
tree0f055e49d18587791dd7ea0ec4f1f41c6ee435b7
parent341cfc3e7f07c1906784420796668c4078e1b76d
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