ext4: remove redundant #ifdef in super.c
authorAmerigo Wang <amwang@redhat.com>
Mon, 9 May 2011 14:30:41 +0000 (10:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 9 May 2011 14:30:41 +0000 (10:30 -0400)
There is already an #ifdef CONFIG_QUOTA some lines above,
so this one is totally useless.

Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c

index c22926eab5dcccacfff7ecc12c66c18a442be1bf..fc827bb2a69b4ebdd8dbe618fc20e4e7d4080db5 100644 (file)
@@ -1203,9 +1203,7 @@ static ssize_t ext4_quota_write(struct super_block *sb, int type,
                                const char *data, size_t len, loff_t off);
 
 static const struct dquot_operations ext4_quota_operations = {
-#ifdef CONFIG_QUOTA
        .get_reserved_space = ext4_get_reserved_space,
-#endif
        .write_dquot    = ext4_write_dquot,
        .acquire_dquot  = ext4_acquire_dquot,
        .release_dquot  = ext4_release_dquot,