|
@@ -96,7 +96,7 @@ atomic_t unix_tot_inflight = ATOMIC_INIT(0);
|
|
static struct sock *unix_get_socket(struct file *filp)
|
|
static struct sock *unix_get_socket(struct file *filp)
|
|
{
|
|
{
|
|
struct sock *u_sock = NULL;
|
|
struct sock *u_sock = NULL;
|
|
- struct inode *inode = filp->f_dentry->d_inode;
|
|
|
|
|
|
+ struct inode *inode = filp->f_path.dentry->d_inode;
|
|
|
|
|
|
/*
|
|
/*
|
|
* Socket ?
|
|
* Socket ?
|