diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-08-15 12:57:48 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-08-22 10:54:51 +0200 |
commit | 8c6866b071cb242584df287dbd342e5815e8407f (patch) | |
tree | ee4f90f15c1e0472f0d0873595f130d580fb296e | |
parent | UBIFS: remove unneeded call from ubifs_sync_fs (diff) | |
download | linux-8c6866b071cb242584df287dbd342e5815e8407f.tar.xz linux-8c6866b071cb242584df287dbd342e5815e8407f.zip |
UBIFS: constify file and inode operations
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>
-rw-r--r-- | fs/ubifs/xattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c index adafcf556531..7998cc378250 100644 --- a/fs/ubifs/xattr.c +++ b/fs/ubifs/xattr.c @@ -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. |