aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf/namei.c
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2008-02-08 07:20:49 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 12:22:36 -0500
commit7f3fbd08976f1d2562d6174d5fe4c85d12bb7d54 (patch)
treebb154c1da6dc9a3bdae1ef505ef9ac29f7282e2e /fs/udf/namei.c
parent1ed161718a8f763130e6e349f2bbb1b764e6c5b3 (diff)
udf: fix signedness issue
sparse generated: fs/udf/namei.c:896:15: originally declared here fs/udf/namei.c:1147:41: warning: incorrect type in argument 3 (different signedness) fs/udf/namei.c:1147:41: expected int *offset fs/udf/namei.c:1147:41: got unsigned int *<noident> fs/udf/namei.c:1152:78: warning: incorrect type in argument 3 (different signedness) fs/udf/namei.c:1152:78: expected int *offset fs/udf/namei.c:1152:78: got unsigned int *<noident> Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Acked-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/udf/namei.c')
-rw-r--r--fs/udf/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/namei.c b/fs/udf/namei.c
index 35e5bebe4fab..4bf83d570456 100644
--- a/fs/udf/namei.c
+++ b/fs/udf/namei.c
@@ -1195,7 +1195,7 @@ static int udf_rename(struct inode *old_dir, struct dentry *old_dentry,
1195 } 1195 }
1196 } 1196 }
1197 if (S_ISDIR(old_inode->i_mode)) { 1197 if (S_ISDIR(old_inode->i_mode)) {
1198 uint32_t offset = udf_ext0_offset(old_inode); 1198 int offset = udf_ext0_offset(old_inode);
1199 1199
1200 if (new_inode) { 1200 if (new_inode) {
1201 retval = -ENOTEMPTY; 1201 retval = -ENOTEMPTY;