Skip to content

Commit

Permalink
constify dentry_operations: sysfs
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Mar 27, 2009
1 parent ad28b4e commit ee1ec32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/sysfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ static void sysfs_d_iput(struct dentry * dentry, struct inode * inode)
iput(inode);
}

static struct dentry_operations sysfs_dentry_ops = {
static const struct dentry_operations sysfs_dentry_ops = {
.d_iput = sysfs_d_iput,
};

Expand Down

0 comments on commit ee1ec32

Please sign in to comment.