Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18046
b: refs/heads/master
c: 2a7e2f7
h: refs/heads/master
v: v3
  • Loading branch information
Catalin Marinas authored and Linus Torvalds committed Jan 12, 2006
1 parent 10bc322 commit ecc0847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4598c8b3678abd65be3be00ed3d046375a4777e
refs/heads/master: 2a7e2f7dcb81279e73aefb691ea55ab3540e408a
2 changes: 1 addition & 1 deletion trunk/mm/tiny-shmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags)
file->f_mode = FMODE_WRITE | FMODE_READ;

/* notify everyone as to the change of file size */
error = do_truncate(dentry, size, file);
error = do_truncate(dentry, size, 0, file);
if (error < 0)
goto close_file;

Expand Down

0 comments on commit ecc0847

Please sign in to comment.