]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:19:57 +0000 (13:19 -0700)
commitc87afd35a28b2661a2626a1b28e9fd69adcad9f9
tree13f82afc50da9fdac565e834db3ce1e3bfe81df3
parenta5b2df73b868e2f8ad68674419d45f5e577bc0d4
Btrfs: Fix btrfs_drop_extent_cache for skip pinned case

commit 55ef68990029fcd8d04d42fc184aa7fb18cf309e upstream.

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>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/btrfs/file.c