summaryrefslogtreecommitdiff
path: root/fs/aufs/dbgaufs.c
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-10 05:30:17 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-10 05:30:17 -0300
commitd635711daa98be86d4c7fd01499c34f566b54ccb (patch)
treeaa5cc3760a27c3d57146498cb82fa549547de06c /fs/aufs/dbgaufs.c
parentc91265cd0efb83778f015b4d4b1129bd2cfd075e (diff)
Linux-libre 4.6.2-gnu
Diffstat (limited to 'fs/aufs/dbgaufs.c')
-rw-r--r--fs/aufs/dbgaufs.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/aufs/dbgaufs.c b/fs/aufs/dbgaufs.c
index 0aefb5ed8..21ac77398 100644
--- a/fs/aufs/dbgaufs.c
+++ b/fs/aufs/dbgaufs.c
@@ -225,7 +225,7 @@ static int dbgaufs_xino_open(struct inode *inode, struct file *file)
sbinfo = inode->i_private;
sb = sbinfo->si_sb;
si_noflush_read_lock(sb);
- if (l <= au_sbend(sb)) {
+ if (l <= au_sbbot(sb)) {
xf = au_sbr(sb, (aufs_bindex_t)l)->br_xino.xi_file;
err = dbgaufs_xi_open(xf, file, /*do_fcnt*/1);
} else
@@ -245,15 +245,15 @@ static const struct file_operations dbgaufs_xino_fop = {
void dbgaufs_brs_del(struct super_block *sb, aufs_bindex_t bindex)
{
- aufs_bindex_t bend;
+ aufs_bindex_t bbot;
struct au_branch *br;
struct au_xino_file *xi;
if (!au_sbi(sb)->si_dbgaufs)
return;
- bend = au_sbend(sb);
- for (; bindex <= bend; bindex++) {
+ bbot = au_sbbot(sb);
+ for (; bindex <= bbot; bindex++) {
br = au_sbr(sb, bindex);
xi = &br->br_xino;
debugfs_remove(xi->xi_dbgaufs);
@@ -267,7 +267,7 @@ void dbgaufs_brs_add(struct super_block *sb, aufs_bindex_t bindex)
struct dentry *parent;
struct au_branch *br;
struct au_xino_file *xi;
- aufs_bindex_t bend;
+ aufs_bindex_t bbot;
char name[sizeof(DbgaufsXi_PREFIX) + 5]; /* "xi" bindex NULL */
sbinfo = au_sbi(sb);
@@ -275,8 +275,8 @@ void dbgaufs_brs_add(struct super_block *sb, aufs_bindex_t bindex)
if (!parent)
return;
- bend = au_sbend(sb);
- for (; bindex <= bend; bindex++) {
+ bbot = au_sbbot(sb);
+ for (; bindex <= bbot; bindex++) {
snprintf(name, sizeof(name), DbgaufsXi_PREFIX "%d", bindex);
br = au_sbr(sb, bindex);
xi = &br->br_xino;