projects
/
linux-flexiantxendom0-natty.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UBUNTU: SAUCE: Fix aufs calling of security_path_mknod
[linux-flexiantxendom0-natty.git]
/
ubuntu
/
aufs
/
vfsub.c
diff --git
a/ubuntu/aufs/vfsub.c
b/ubuntu/aufs/vfsub.c
index
6ce2fd5
..
40f6aef
100644
(file)
--- a/
ubuntu/aufs/vfsub.c
+++ b/
ubuntu/aufs/vfsub.c
@@
-276,7
+276,7
@@
int vfsub_mknod(struct inode *dir, struct path *path, int mode, dev_t dev)
d = path->dentry;
path->dentry = d->d_parent;
- err = security_path_mknod(path, d, mode, dev);
+ err = security_path_mknod(path, d, mode, new_encode_dev(dev));
path->dentry = d;
if (unlikely(err))
goto out;