Explorar o código

[PATCH] struct path: convert unix

Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Josef Sipek %!s(int64=18) %!d(string=hai) anos
pai
achega
592ccbf9fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      net/unix/garbage.c

+ 1 - 1
net/unix/garbage.c

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