Re: [PATCH 05/32] Unionfs: do not use fsstack_copy_attr_all

From: Jan Engelhardt
Date: Mon Sep 03 2007 - 02:43:23 EST



On Sep 2 2007 22:20, Josef 'Jeff' Sipek wrote:
>+/* copy a/m/ctime from the lower branch with the newest times */
>+static inline void unionfs_copy_attr_times(struct inode *upper)
>+{
>
>+ /* XXX: should we notify_change on our upper inode? */

I do not think so. Inotifying should only happen when the user really
did something (e.g. touch, cp, whatever). When merely the newest time is
picked from a stack of files and applied to the user-visible dentry,
nothing should happen.


Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/