Skip to content

Commit

Permalink
NTFS: Fix two compiler warnings on Alpha. Thanks to Andrew Morton for
Browse files Browse the repository at this point in the history
      reporting them.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
  • Loading branch information
AntonAltaparmakov committed Mar 7, 2006
1 parent 1cf3109 commit bb8047d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/ntfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ static int ntfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
if (fpos == 1) {
ntfs_debug("Calling filldir for .. with len 2, fpos 0x1, "
"inode 0x%lx, DT_DIR.",
parent_ino(filp->f_dentry));
(unsigned long)parent_ino(filp->f_dentry));
rc = filldir(dirent, "..", 2, fpos,
parent_ino(filp->f_dentry), DT_DIR);
if (rc)
Expand Down
3 changes: 2 additions & 1 deletion fs/ntfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,8 @@ static int ntfs_prepare_pages_for_non_resident_write(struct page **pages,
}
ni->runlist.rl = rl;
status.runlist_merged = 1;
ntfs_debug("Allocated cluster, lcn 0x%llx.", lcn);
ntfs_debug("Allocated cluster, lcn 0x%llx.",
(unsigned long long)lcn);
/* Map and lock the mft record and get the attribute record. */
if (!NInoAttr(ni))
base_ni = ni;
Expand Down

0 comments on commit bb8047d

Please sign in to comment.