summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_address.c
diff options
context:
space:
mode:
authorAbhijith Das2009-01-07 23:03:37 +0100
committerSteven Whitehouse2009-03-24 12:21:12 +0100
commit0a7ab79c5b5a16035e09b466c9013c8afc3b4bff (patch)
treebb82ea7f936b334b4de184288bc951f1642e9541 /fs/gfs2/ops_address.c
parentGFS2: Bring back lvb-related stuff to lock_nolock to support quotas (diff)
downloadkernel-qcow2-linux-0a7ab79c5b5a16035e09b466c9013c8afc3b4bff.tar.gz
kernel-qcow2-linux-0a7ab79c5b5a16035e09b466c9013c8afc3b4bff.tar.xz
kernel-qcow2-linux-0a7ab79c5b5a16035e09b466c9013c8afc3b4bff.zip
GFS2: change gfs2_quota_scan into a shrinker
Deallocation of gfs2_quota_data objects now happens on-demand through a shrinker instead of routinely deallocating through the quotad daemon. Signed-off-by: Abhijith Das <adas@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_address.c')
-rw-r--r--fs/gfs2/ops_address.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c
index 4ddab67867eb..dde4ead2c3be 100644
--- a/fs/gfs2/ops_address.c
+++ b/fs/gfs2/ops_address.c
@@ -442,6 +442,7 @@ static int stuffed_readpage(struct gfs2_inode *ip, struct page *page)
*/
if (unlikely(page->index)) {
zero_user(page, 0, PAGE_CACHE_SIZE);
+ SetPageUptodate(page);
return 0;
}