Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- unland b_fid to HEAD
[fs/lustre-release.git]
/
lustre
/
smfs
/
ioctl.c
diff --git
a/lustre/smfs/ioctl.c
b/lustre/smfs/ioctl.c
index
82413c3
..
f9d9c2c
100644
(file)
--- a/
lustre/smfs/ioctl.c
+++ b/
lustre/smfs/ioctl.c
@@
-54,6
+54,7
@@
static struct super_block *smfs_get_sb_by_path(char *path, int len)
ENTRY;
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
if (path_init(path, LOOKUP_FOLLOW, &nd)) {
+ int error = 0;
error = path_walk(path, &nd);
if (error) {
path_release(&nd);