summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/quota.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-07-22 13:17:20 +0200
committerJoel Becker <joel.becker@oracle.com>2009-07-23 10:59:27 -0700
commit4539f1df25bcd0fdf0d8a5e2c92de6bece83c7a0 (patch)
treefb3a2429f8759816fd15877ec0c0ab3c567dbb51 /fs/ocfs2/quota.h
parent1c1d9793ff6720531c0125a28d321f283716e32f (diff)
downloadop-kernel-dev-4539f1df25bcd0fdf0d8a5e2c92de6bece83c7a0.zip
op-kernel-dev-4539f1df25bcd0fdf0d8a5e2c92de6bece83c7a0.tar.gz
ocfs2: Remove syncjiff field from quota info
syncjiff is just a converted value of syncms. Some places which are updating syncms forgot to update syncjiff as well. Since the conversion is just a simple division / multiplication and it does not happen frequently, just remove the syncjiff field to avoid forgotten conversions. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/quota.h')
-rw-r--r--fs/ocfs2/quota.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ocfs2/quota.h b/fs/ocfs2/quota.h
index 7365e2e..3fb96fcd 100644
--- a/fs/ocfs2/quota.h
+++ b/fs/ocfs2/quota.h
@@ -50,7 +50,6 @@ struct ocfs2_mem_dqinfo {
unsigned int dqi_chunks; /* Number of chunks in local quota file */
unsigned int dqi_blocks; /* Number of blocks allocated for local quota file */
unsigned int dqi_syncms; /* How often should we sync with other nodes */
- unsigned int dqi_syncjiff; /* Precomputed dqi_syncms in jiffies */
struct list_head dqi_chunk; /* List of chunks */
struct inode *dqi_gqinode; /* Global quota file inode */
struct ocfs2_lock_res dqi_gqlock; /* Lock protecting quota information structure */
OpenPOWER on IntegriCloud