Skip to content

Commit

Permalink
cifs: set server_eof in cifs_fattr_to_inode
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
  • Loading branch information
Jeff Layton authored and Steve French committed Feb 23, 2010
1 parent 96c03bc commit 835a36c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/cifs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 835a36c

Please sign in to comment.