Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 835a36ca authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

cifs: set server_eof in cifs_fattr_to_inode

parent 96c03bcc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.