]> git.michaelhowe.org Git - packages/o/openafs.git/commit
afs: afs_FlushDCache avoid dup cache drained check
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 7 Sep 2013 17:27:54 +0000 (13:27 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 14 Nov 2013 13:27:58 +0000 (05:27 -0800)
commit5718036049a01004cd1a085148b9530762811246
tree5163fab750d5f12db7aee88649e22d1e0dace686
parentec96b7e60d63627e72950b6d46985a995734d787
afs: afs_FlushDCache avoid dup cache drained check

afs_WakeCacheWaitersIfDrained is called as the last statement
of both afs_DiscardDCache and afs_FreeDCache.  There is no need
to perform the same check again before exiting afs_FlushDCache.

Change-Id: I111d7dc1638fa8fc0a4c35d9cc4c0a1631300f89
Reviewed-on: http://gerrit.openafs.org/10433
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/afs_dcache.c