X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fgfs2%2Fdaemon.c;h=3731ab0771d511ada7a2e6fbfceecb174b4075ee;hb=70180659a479b55387eca8cc1fa7024ba8410b14;hp=3548d9f31e0d5c6918d74115a5fd0f9f2b133f48;hpb=5e16e3f0e24dadb79b96b6134cd3303f0d42f0c5;p=powerpc.git diff --git a/fs/gfs2/daemon.c b/fs/gfs2/daemon.c index 3548d9f31e..3731ab0771 100644 --- a/fs/gfs2/daemon.c +++ b/fs/gfs2/daemon.c @@ -34,30 +34,6 @@ The kthread functions used to start these daemons block and flush signals. */ -/** - * gfs2_scand - Look for cached glocks and inodes to toss from memory - * @sdp: Pointer to GFS2 superblock - * - * One of these daemons runs, finding candidates to add to sd_reclaim_list. - * See gfs2_glockd() - */ - -int gfs2_scand(void *data) -{ - struct gfs2_sbd *sdp = data; - unsigned long t; - - while (!kthread_should_stop()) { - gfs2_scand_internal(sdp); - t = gfs2_tune_get(sdp, gt_scand_secs) * HZ; - if (freezing(current)) - refrigerator(); - schedule_timeout_interruptible(t); - } - - return 0; -} - /** * gfs2_glockd - Reclaim unused glock structures * @sdp: Pointer to GFS2 superblock