summaryrefslogtreecommitdiff
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2013-11-01 14:52:06 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2013-11-04 11:17:07 +0000
commit9b9f039d570bddc1653cda2e38f4331dcacfcde5 (patch)
tree216432682f87903da14562212eebf056e6ca0091 /fs/gfs2/incore.h
parente66cf161098a634dc96e32d0089c5767cf25668a (diff)
GFS2: Use reflink for quota data cache
This patch adds reflink support to the quota data cache. It looks a bit strange because we still don't have a sensible split in the lookup by id and the lru list. That is coming in later patches though. The intent here is just to swap the current ref count for reflinks in all cases with as little as possible other change. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Abhijith Das <adas@redhat.com> Tested-by: Abhijith Das <adas@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index bb88e417231f..9d778044cc6e 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -422,7 +422,7 @@ struct gfs2_quota_data {
struct list_head qd_list;
struct list_head qd_reclaim;
- atomic_t qd_count;
+ struct lockref qd_lockref;
struct kqid qd_id;
unsigned long qd_flags; /* QDF_... */