]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fs/hugetlbfs/inode.c: use static const for dentry_operations
authorFabian Frederick <fabf@skynet.be>
Thu, 22 May 2014 00:43:25 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:25 +0000 (10:43 +1000)
...like other filesystems.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/hugetlbfs/inode.c

index bcc0c095b722217ba2c1ae19f731dc477c9a22cb..62e4f9d2a2e8eb1356cc0605b44dc3b46e96fdaf 100644 (file)
@@ -938,7 +938,7 @@ static int get_hstate_idx(int page_size_log)
        return h - hstates;
 }
 
-static struct dentry_operations anon_ops = {
+static const struct dentry_operations anon_ops = {
        .d_dname = simple_dname
 };