diff options
Diffstat (limited to 'ipc/shm.c')
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1132,7 +1132,7 @@ long do_shmat(int shmid, char __user *shmaddr, int shmflg, ulong *raddr, | |||
1132 | path = shp->shm_file->f_path; | 1132 | path = shp->shm_file->f_path; |
1133 | path_get(&path); | 1133 | path_get(&path); |
1134 | shp->shm_nattch++; | 1134 | shp->shm_nattch++; |
1135 | size = i_size_read(path.dentry->d_inode); | 1135 | size = i_size_read(d_inode(path.dentry)); |
1136 | ipc_unlock_object(&shp->shm_perm); | 1136 | ipc_unlock_object(&shp->shm_perm); |
1137 | rcu_read_unlock(); | 1137 | rcu_read_unlock(); |
1138 | 1138 | ||