Skip to content

Commit

Permalink
UBIFS: constify file and inode operations
Browse files Browse the repository at this point in the history
This patch adds 'const' qualifier to UBIFS xattr inode and file
operations.

Pointed-out-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Aug 22, 2009
1 parent 887ee17 commit 8c6866b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/ubifs/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ enum {
SECURITY_XATTR,
};

static struct inode_operations none_inode_operations;
static const struct inode_operations none_inode_operations;
static struct address_space_operations none_address_operations;
static struct file_operations none_file_operations;
static const struct file_operations none_file_operations;

/**
* create_xattr - create an extended attribute.
Expand Down

0 comments on commit 8c6866b

Please sign in to comment.