summaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-03-17 18:26:12 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-15 15:06:58 -0400
commit75c3cfa855dcedc84e7964269c9b6baf26137959 (patch)
tree2ef6b8570069d7811542db376c88fbe208a5771d /ipc/shm.c
parent2b0143b5c986be1ce8408b3aadc4709e0a94429d (diff)
VFS: assorted weird filesystems: d_inode() annotations
Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/shm.c')
-rw-r--r--ipc/shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/shm.c b/ipc/shm.c
index 19633b4a2350..55e07c980674 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -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