diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-06-10 05:30:17 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-06-10 05:30:17 -0300 |
commit | d635711daa98be86d4c7fd01499c34f566b54ccb (patch) | |
tree | aa5cc3760a27c3d57146498cb82fa549547de06c /fs/aufs/plink.c | |
parent | c91265cd0efb83778f015b4d4b1129bd2cfd075e (diff) |
Linux-libre 4.6.2-gnu
Diffstat (limited to 'fs/aufs/plink.c')
-rw-r--r-- | fs/aufs/plink.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; |