[1/8] cifs: set server_eof in cifs_fattr_to_inode

Submitted by Jeff Layton on Feb. 11, 2010, 7:58 p.m.

Details

Message ID 1265918330-2810-2-git-send-email-jlayton@redhat.com
State New
Headers show

Commit Message

Jeff Layton Feb. 11, 2010, 7:58 p.m.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
 fs/cifs/inode.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index e3fda97..00f8f33 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -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.