[CIFS] Fix mtime on cp -p when file data cached but written out too late
authorSteve French <sfrench@us.ibm.com>
Fri, 14 Mar 2008 19:21:31 +0000 (19:21 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 14 Mar 2008 19:21:31 +0000 (19:21 +0000)
commit50531444fac593c8c8e3ff2e41944d9507bb4665
treeda888faac8dffd99b651d9bb64cd10871bffa097
parentbc5b6e24a17f90c7d096d857650f4739cc95c941
[CIFS] Fix mtime on cp -p when file data cached but written out too late

Kukks noticed that cp -p can write out file data too late, after the timestamp
is already set.  This was introduced as an unintentional sideeffect of the change
in an earlier patch (see below) which fixed some delayed return code propagation.

cea218054ad277d6c126890213afde07b4eb1602
Author: Jeff Layton <jlayton@redhat.com>
Date:   Tue Nov 20 23:19:03 2007 +0000

Acked-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c