Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109363
b: refs/heads/master
c: 838726c
h: refs/heads/master
i:
  109361: b5ad2bc
  109359: c5c8150
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Aug 28, 2008
1 parent cda497a commit 2d8fa52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6405c9cd9bf7b1c35ed76ef8ee3e217056285702
refs/heads/master: 838726c4756813576078203eb7e1e219db0da870
4 changes: 4 additions & 0 deletions trunk/fs/cifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,10 @@ ssize_t cifs_user_write(struct file *file, const char __user *write_data,
return -EBADF;
open_file = (struct cifsFileInfo *) file->private_data;

rc = generic_write_checks(file, poffset, &write_size, 0);
if (rc)
return rc;

xid = GetXid();

if (*poffset > file->f_path.dentry->d_inode->i_size)
Expand Down

0 comments on commit 2d8fa52

Please sign in to comment.