Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91844
b: refs/heads/master
c: 706047a
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Manciulea authored and Jan Kara committed Apr 17, 2008
1 parent 5a531cd commit 9993794
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47c9358a015199ed37c66235a2238271a7c8041f
refs/heads/master: 706047a79725b585cf272fdefc234b31b6545c72
7 changes: 4 additions & 3 deletions trunk/fs/udf/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,8 @@ static int udf_vrs(struct super_block *sb, int silent)
sector += (sbi->s_session << sb->s_blocksize_bits);

udf_debug("Starting at sector %u (%ld byte sectors)\n",
(sector >> sb->s_blocksize_bits), sb->s_blocksize);
(unsigned int)(sector >> sb->s_blocksize_bits),
sb->s_blocksize);
/* Process the sequence (if applicable) */
for (; !nsr02 && !nsr03; sector += sectorsize) {
/* Read a block */
Expand Down Expand Up @@ -1117,8 +1118,8 @@ static int udf_fill_partdesc_info(struct super_block *sb,
if (p->accessType == cpu_to_le32(PD_ACCESS_TYPE_OVERWRITABLE))
map->s_partition_flags |= UDF_PART_FLAG_OVERWRITABLE;

udf_debug("Partition (%d:%d type %x) starts at physical %d, "
"block length %d\n", partitionNumber, p_index,
udf_debug("Partition (%d type %x) starts at physical %d, "
"block length %d\n", p_index,
map->s_partition_type, map->s_partition_root,
map->s_partition_len);

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/udf/udfdecl.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define UDF_PREALLOCATE
#define UDF_DEFAULT_PREALLOC_BLOCKS 8

#undef UDFFS_DEBUG
#define UDFFS_DEBUG

#ifdef UDFFS_DEBUG
#define udf_debug(f, a...) \
Expand Down

0 comments on commit 9993794

Please sign in to comment.