projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fs: provide rcu-walk aware permission i_ops
[deliverable/linux.git]
/
fs
/
gfs2
/
inode.c
diff --git
a/fs/gfs2/inode.c
b/fs/gfs2/inode.c
index e1213f7f92179aa2472304ff0db4294be66040d8..6163be9686be55318a1a84bdd5e8e4fc29501882 100644
(file)
--- a/
fs/gfs2/inode.c
+++ b/
fs/gfs2/inode.c
@@
-509,7
+509,7
@@
struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name,
}
if (!is_root) {
}
if (!is_root) {
- error = gfs2_permission(dir, MAY_EXEC);
+ error = gfs2_permission(dir, MAY_EXEC
, 0
);
if (error)
goto out;
}
if (error)
goto out;
}
@@
-539,7
+539,7
@@
static int create_ok(struct gfs2_inode *dip, const struct qstr *name,
{
int error;
{
int error;
- error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC);
+ error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC
, 0
);
if (error)
return error;
if (error)
return error;
This page took
0.025822 seconds
and
5
git commands to generate.