projects
/
unionfs-3.6.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c141738
)
Unionfs: properly check for error in ->mount
author
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 10 Feb 2012 20:36:44 +0000
(15:36 -0500)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 24 Nov 2013 08:08:31 +0000
(
03:08
-0500)
Record dev_name correctly for branch-management.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/main.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/main.c
b/fs/unionfs/main.c
index 87cd1fcdfe1193da0235b770bdc948f25d468df5..ee78f1d90c9601996b56735aeb3242d7c9940e34 100644
(file)
--- a/
fs/unionfs/main.c
+++ b/
fs/unionfs/main.c
@@
-689,7
+689,7
@@
static struct dentry *unionfs_mount(struct file_system_type *fs_type,
struct dentry *dentry;
dentry = mount_nodev(fs_type, flags, raw_data, unionfs_read_super);
- if (!
PTR
_ERR(dentry))
+ if (!
IS
_ERR(dentry))
UNIONFS_SB(dentry->d_sb)->dev_name =
kstrdup(dev_name, GFP_KERNEL);
return dentry;