projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scsi_scan: fix queue depth initialisation problem
[cascardo/linux.git]
/
ipc
/
shm.c
diff --git
a/ipc/shm.c
b/ipc/shm.c
index
d280a74
..
6d76707
100644
(file)
--- a/
ipc/shm.c
+++ b/
ipc/shm.c
@@
-1132,7
+1132,7
@@
long do_shmat(int shmid, char __user *shmaddr, int shmflg, ulong *raddr,
path = shp->shm_file->f_path;
path_get(&path);
shp->shm_nattch++;
- size = i_size_read(
path.dentry->d_inode
);
+ size = i_size_read(
d_inode(path.dentry)
);
ipc_unlock_object(&shp->shm_perm);
rcu_read_unlock();