Btrfs: Fix btrfs_drop_extent_cache for skip pinned case
authorYan, Zheng <zheng.yan@oracle.com>
Thu, 12 Nov 2009 09:36:44 +0000 (09:36 +0000)
committerChris Mason <chris.mason@oracle.com>
Thu, 17 Dec 2009 17:33:35 +0000 (12:33 -0500)
commit55ef68990029fcd8d04d42fc184aa7fb18cf309e
tree0487a5d15586e94de29be3c8701cb64eb1ae2f9b
parent24bbcf0442ee04660a5a030efdbb6d03f1c275cb
Btrfs: Fix btrfs_drop_extent_cache for skip pinned case

The check for skip pinned case is wrong, it may breaks the
while loop too soon.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c