projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'xtensa-20161219' of git://github.com/jcmvbkbc/linux-xtensa
[linux-2.6-microblaze.git]
/
drivers
/
target
/
target_core_configfs.c
diff --git
a/drivers/target/target_core_configfs.c
b/drivers/target/target_core_configfs.c
index
2001005
..
a35a347
100644
(file)
--- a/
drivers/target/target_core_configfs.c
+++ b/
drivers/target/target_core_configfs.c
@@
-143,7
+143,7
@@
static ssize_t target_core_item_dbroot_store(struct config_item *item,
pr_err("db_root: cannot open: %s\n", db_root_stage);
return -EINVAL;
}
pr_err("db_root: cannot open: %s\n", db_root_stage);
return -EINVAL;
}
- if (!S_ISDIR(f
p->f_inode
->i_mode)) {
+ if (!S_ISDIR(f
ile_inode(fp)
->i_mode)) {
filp_close(fp, 0);
mutex_unlock(&g_tf_lock);
pr_err("db_root: not a directory: %s\n", db_root_stage);
filp_close(fp, 0);
mutex_unlock(&g_tf_lock);
pr_err("db_root: not a directory: %s\n", db_root_stage);