From d635711daa98be86d4c7fd01499c34f566b54ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Fri, 10 Jun 2016 05:30:17 -0300 Subject: Linux-libre 4.6.2-gnu --- fs/aufs/plink.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'fs/aufs/plink.c') diff --git a/fs/aufs/plink.c b/fs/aufs/plink.c index b6d63269c..c42734dd4 100644 --- a/fs/aufs/plink.c +++ b/fs/aufs/plink.c @@ -429,13 +429,13 @@ void au_plink_clean(struct super_block *sb, int verbose) static int au_plink_do_half_refresh(struct inode *inode, aufs_bindex_t br_id) { int do_put; - aufs_bindex_t bstart, bend, bindex; + aufs_bindex_t btop, bbot, bindex; do_put = 0; - bstart = au_ibstart(inode); - bend = au_ibend(inode); - if (bstart >= 0) { - for (bindex = bstart; bindex <= bend; bindex++) { + btop = au_ibtop(inode); + bbot = au_ibbot(inode); + if (btop >= 0) { + for (bindex = btop; bindex <= bbot; bindex++) { if (!au_h_iptr(inode, bindex) || au_ii_br_id(inode, bindex) != br_id) continue; @@ -444,7 +444,7 @@ static int au_plink_do_half_refresh(struct inode *inode, aufs_bindex_t br_id) break; } if (do_put) - for (bindex = bstart; bindex <= bend; bindex++) + for (bindex = btop; bindex <= bbot; bindex++) if (au_h_iptr(inode, bindex)) { do_put = 0; break; -- cgit v1.2.3