Patchwork [1/8] cifs: set server_eof in cifs_fattr_to_inode

login
register
mail settings
Submitter Jeff Layton
Date Feb. 11, 2010, 7:58 p.m.
Message ID <1265918330-2810-2-git-send-email-jlayton@redhat.com>
Download mbox | patch
Permalink /patch/45145/
State New
Headers show

Comments

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

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.