commit | 75c3cfa855dcedc84e7964269c9b6baf26137959 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Tue Mar 17 22:26:12 2015 +0000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Apr 15 15:06:58 2015 -0400 |
tree | 2ef6b8570069d7811542db376c88fbe208a5771d | |
parent | 2b0143b5c986be1ce8408b3aadc4709e0a94429d [diff] [blame] |
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>
diff --git a/ipc/shm.c b/ipc/shm.c index 19633b4..55e07c9 100644 --- a/ipc/shm.c +++ b/ipc/shm.c
@@ -1132,7 +1132,7 @@ 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();