nilfs2: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Wed, 23 Dec 2009 12:57:47 +0000 (13:57 +0100)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 25 Dec 2009 04:01:50 +0000 (13:01 +0900)
The C99 specification states in section 6.11.5:

The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/ioctl.c

index f6af760..d6b2b83 100644 (file)
@@ -480,7 +480,7 @@ static int nilfs_ioctl_clean_segments(struct inode *inode, struct file *filp,
                                      unsigned int cmd, void __user *argp)
 {
        struct nilfs_argv argv[5];
-       const static size_t argsz[5] = {
+       static const size_t argsz[5] = {
                sizeof(struct nilfs_vdesc),
                sizeof(struct nilfs_period),
                sizeof(__u64),