Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132187
b: refs/heads/master
c: f809e5a
h: refs/heads/master
i:
  132185: fc5c2ba
  132183: ab2f59a
v: v3
  • Loading branch information
Linus Torvalds committed Mar 11, 2009
1 parent 97ce233 commit 6bd5d5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 211b3d03c7400f48a781977a50104c9d12f4e229
refs/heads/master: f809e5a21f05b4aaeef0f9b191c01438d392fa5a
4 changes: 2 additions & 2 deletions trunk/fs/fat/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ static sector_t _fat_bmap(struct address_space *mapping, sector_t block)
sector_t blocknr;

/* fat_get_cluster() assumes the requested blocknr isn't truncated. */
mutex_lock(&mapping->host->i_mutex);
down_read(&mapping->host->i_alloc_sem);
blocknr = generic_block_bmap(mapping, block, fat_get_block);
mutex_unlock(&mapping->host->i_mutex);
up_read(&mapping->host->i_alloc_sem);

return blocknr;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/proc/page.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static const struct file_operations proc_kpagecount_operations = {
#define KPF_RECLAIM 9
#define KPF_BUDDY 10

#define kpf_copy_bit(flags, srcpos, dstpos) (((flags >> srcpos) & 1) << dstpos)
#define kpf_copy_bit(flags, dstpos, srcpos) (((flags >> srcpos) & 1) << dstpos)

static ssize_t kpageflags_read(struct file *file, char __user *buf,
size_t count, loff_t *ppos)
Expand Down

0 comments on commit 6bd5d5f

Please sign in to comment.