mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-12 09:32:44 +00:00
VFS: net/unix: d_backing_inode() annotations
places where we are dealing with S_ISSOCK file creation/lookups. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
7682c91843
commit
a25b376bde
2 changed files with 4 additions and 4 deletions
|
@ -25,7 +25,7 @@ static int sk_diag_dump_vfs(struct sock *sk, struct sk_buff *nlskb)
|
|||
|
||||
if (dentry) {
|
||||
struct unix_diag_vfs uv = {
|
||||
.udiag_vfs_ino = dentry->d_inode->i_ino,
|
||||
.udiag_vfs_ino = d_backing_inode(dentry)->i_ino,
|
||||
.udiag_vfs_dev = dentry->d_sb->s_dev,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue