projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
orangefs: Fix sb refcount leak when allocate sb info failed.
[linux-2.6-block.git]
/
fs
/
orangefs
/
super.c
diff --git
a/fs/orangefs/super.c
b/fs/orangefs/super.c
index 897fb6c3f16134fc1c49e681668c27bcd902f97d..18341cde3f34e364ee96328567db04999fc7623d 100644
(file)
--- a/
fs/orangefs/super.c
+++ b/
fs/orangefs/super.c
@@
-526,7
+526,7
@@
struct dentry *orangefs_mount(struct file_system_type *fst,
sb->s_fs_info = kzalloc(sizeof(struct orangefs_sb_info_s), GFP_KERNEL);
if (!ORANGEFS_SB(sb)) {
d = ERR_PTR(-ENOMEM);
- goto free_op;
+ goto free_
sb_and_
op;
}
ret = orangefs_fill_sb(sb,