aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/tnc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/tnc.c')
-rw-r--r--fs/ubifs/tnc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ubifs/tnc.c b/fs/ubifs/tnc.c
index d27fd918b9c9..99e9a744cfd0 100644
--- a/fs/ubifs/tnc.c
+++ b/fs/ubifs/tnc.c
@@ -2677,7 +2677,7 @@ int ubifs_tnc_remove_ino(struct ubifs_info *c, ino_t inum)
2677 struct ubifs_dent_node *xent, *pxent = NULL; 2677 struct ubifs_dent_node *xent, *pxent = NULL;
2678 struct qstr nm = { .name = NULL }; 2678 struct qstr nm = { .name = NULL };
2679 2679
2680 dbg_tnc("ino %lu", inum); 2680 dbg_tnc("ino %lu", (unsigned long)inum);
2681 2681
2682 /* 2682 /*
2683 * Walk all extended attribute entries and remove them together with 2683 * Walk all extended attribute entries and remove them together with
@@ -2697,7 +2697,8 @@ int ubifs_tnc_remove_ino(struct ubifs_info *c, ino_t inum)
2697 } 2697 }
2698 2698
2699 xattr_inum = le64_to_cpu(xent->inum); 2699 xattr_inum = le64_to_cpu(xent->inum);
2700 dbg_tnc("xent '%s', ino %lu", xent->name, xattr_inum); 2700 dbg_tnc("xent '%s', ino %lu", xent->name,
2701 (unsigned long)xattr_inum);
2701 2702
2702 nm.name = xent->name; 2703 nm.name = xent->name;
2703 nm.len = le16_to_cpu(xent->nlen); 2704 nm.len = le16_to_cpu(xent->nlen);