|
@@ -307,6 +307,8 @@ static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef CONFIG_BLOCK
|
|
|
|
+
|
|
/* Return 1 if 'cmd' will block on frozen filesystem */
|
|
/* Return 1 if 'cmd' will block on frozen filesystem */
|
|
static int quotactl_cmd_write(int cmd)
|
|
static int quotactl_cmd_write(int cmd)
|
|
{
|
|
{
|
|
@@ -322,6 +324,8 @@ static int quotactl_cmd_write(int cmd)
|
|
return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#endif /* CONFIG_BLOCK */
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* look up a superblock on which quota ops will be performed
|
|
* look up a superblock on which quota ops will be performed
|
|
* - use the name of a block device to find the superblock thereon
|
|
* - use the name of a block device to find the superblock thereon
|