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
LU-14651 llite: extend inode methods with user namespace arg
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_oi.c
diff --git
a/lustre/osd-ldiskfs/osd_oi.c
b/lustre/osd-ldiskfs/osd_oi.c
index
2b3d505
..
7fb40f3
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_oi.c
+++ b/
lustre/osd-ldiskfs/osd_oi.c
@@
-349,7
+349,7
@@
static int osd_remove_oi_one(struct osd_device *osd, struct dentry *parent,
if (IS_ERR(child)) {
rc = PTR_ERR(child);
} else {
- rc =
ll_vfs_unlink(
parent->d_inode, child);
+ rc =
vfs_unlink(&init_user_ns,
parent->d_inode, child);
dput(child);
}