Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25861
b: refs/heads/master
c: b78b6af
h: refs/heads/master
i:
  25859: f295fed
v: v3
  • Loading branch information
Hugh Dickins authored and Greg Kroah-Hartman committed Apr 17, 2006
1 parent 041c62a commit cd15425
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ca1e0484d9fe8a9048ac32b0f9894545f43704e8
refs/heads/master: b78b6af66a5fbaf17d7e6bfc32384df5e34408c8
2 changes: 2 additions & 0 deletions trunk/ipc/shm.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ static int shm_mmap(struct file * file, struct vm_area_struct * vma)
ret = shmem_mmap(file, vma);
if (ret == 0) {
vma->vm_ops = &shm_vm_ops;
if (!(vma->vm_flags & VM_WRITE))
vma->vm_flags &= ~VM_MAYWRITE;
shm_inc(file->f_dentry->d_inode->i_ino);
}

Expand Down

0 comments on commit cd15425

Please sign in to comment.