projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9536ae
)
[PATCH] struct path: convert nbd
author
Josef Sipek
<jsipek@fsl.cs.sunysb.edu>
Fri, 8 Dec 2006 10:37:22 +0000
(
02:37
-0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:47 +0000
(08:28 -0800)
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>
drivers/block/nbd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/nbd.c
b/drivers/block/nbd.c
index 7bf2cfbd6285254009febcf809d4926846ec42e6..090796bef78f16374f8c94f2bf70e23e602deabd 100644
(file)
--- a/
drivers/block/nbd.c
+++ b/
drivers/block/nbd.c
@@
-537,7
+537,7
@@
static int nbd_ioctl(struct inode *inode, struct file *file,
error = -EINVAL;
file = fget(arg);
if (file) {
- inode = file->f_dentry->d_inode;
+ inode = file->f_
path.
dentry->d_inode;
if (S_ISSOCK(inode->i_mode)) {
lo->file = file;
lo->sock = SOCKET_I(inode);