cifs: set server_eof in cifs_fattr_to_inode
authorJeff Layton <jlayton@redhat.com>
Wed, 10 Feb 2010 21:21:33 +0000 (16:21 -0500)
committerSteve French <sfrench@us.ibm.com>
Tue, 23 Feb 2010 23:28:43 +0000 (23:28 +0000)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c

index 5e9cc9c2fc7da02991b6ccdd8929ed8dfe6a6b40..8bdbc818164cbc87df5455c92b1d61ac2f915c90 100644 (file)
@@ -111,6 +111,7 @@ cifs_fattr_to_inode(struct inode *inode, struct cifs_fattr *fattr)
 
        cifs_i->delete_pending = fattr->cf_flags & CIFS_FATTR_DELETE_PENDING;
 
+       cifs_i->server_eof = fattr->cf_eof;
        /*
         * Can't safely change the file size here if the client is writing to
         * it due to potential races.