Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135937
b: refs/heads/master
c: 08f1151
h: refs/heads/master
i:
  135935: 1b738d1
v: v3
  • Loading branch information
Al Viro committed Mar 27, 2009
1 parent 8ff0140 commit 89ae98d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a488257ce5a55c53973671218791296463698d07
refs/heads/master: 08f11513fa6f712506edb99327f7d051da9d860f
2 changes: 1 addition & 1 deletion trunk/fs/autofs/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ static int autofs_revalidate(struct dentry * dentry, struct nameidata *nd)
return 1;
}

static struct dentry_operations autofs_dentry_operations = {
static const struct dentry_operations autofs_dentry_operations = {
.d_revalidate = autofs_revalidate,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/autofs4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ static struct autofs_info *autofs4_mkroot(struct autofs_sb_info *sbi)
return ino;
}

static struct dentry_operations autofs4_sb_dentry_operations = {
static const struct dentry_operations autofs4_sb_dentry_operations = {
.d_release = autofs4_dentry_release,
};

Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/autofs4/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,13 @@ void autofs4_dentry_release(struct dentry *de)
}

/* For dentries of directories in the root dir */
static struct dentry_operations autofs4_root_dentry_operations = {
static const struct dentry_operations autofs4_root_dentry_operations = {
.d_revalidate = autofs4_revalidate,
.d_release = autofs4_dentry_release,
};

/* For other dentries */
static struct dentry_operations autofs4_dentry_operations = {
static const struct dentry_operations autofs4_dentry_operations = {
.d_revalidate = autofs4_revalidate,
.d_release = autofs4_dentry_release,
};
Expand Down

0 comments on commit 89ae98d

Please sign in to comment.