cifs: set server_eof in cifs_fattr_to_inode
Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
96c03bccc7
commit
835a36ca4a
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue