diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-02-10 16:21:33 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-02-23 18:28:43 -0500 |
commit | 835a36ca4a4cd9da557318c0e213346644a4b2c8 (patch) | |
tree | 4e8f1231fd3f235628a77dd7bf3ce561a8b01abf /fs/cifs | |
parent | 96c03bccc7defb1f0d486165af5c0b8590f56c11 (diff) |
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>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 5e9cc9c2fc7d..8bdbc818164c 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) | |||
111 | 111 | ||
112 | cifs_i->delete_pending = fattr->cf_flags & CIFS_FATTR_DELETE_PENDING; | 112 | cifs_i->delete_pending = fattr->cf_flags & CIFS_FATTR_DELETE_PENDING; |
113 | 113 | ||
114 | cifs_i->server_eof = fattr->cf_eof; | ||
114 | /* | 115 | /* |
115 | * Can't safely change the file size here if the client is writing to | 116 | * Can't safely change the file size here if the client is writing to |
116 | * it due to potential races. | 117 | * it due to potential races. |