Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162494
b: refs/heads/master
c: 76efa5e
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 7992e33 commit ce3eda0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 9cfa2bc2f455aa9ba1b7bd92eb6790d78c8fab4a
refs/heads/master: 76efa5e34ed81587e26e483a624dc7f72efb389a
2 changes: 1 addition & 1 deletion trunk/drivers/staging/pohmelfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,7 @@ static int pohmelfs_fill_super(struct super_block *sb, void *data, int silent)
INIT_LIST_HEAD(&psb->crypto_active_list);

atomic_set(&psb->trans_gen, 1);
atomic_set(&psb->total_inodes, 0);
atomic_long_set(&psb->total_inodes, 0);

mutex_init(&psb->state_lock);
INIT_LIST_HEAD(&psb->state_list);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/pohmelfs/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ static int pohmelfs_root_cap_response(struct netfs_state *st)
printk(KERN_INFO "Mounting POHMELFS (%d) "
"with extended attributes support.\n", psb->idx);

if (atomic_read(&psb->total_inodes) <= 1)
if (atomic_long_read(&psb->total_inodes) <= 1)
atomic_long_set(&psb->total_inodes, cap->nr_files);

dprintk("%s: total: %llu, avail: %llu, flags: %llx, inodes: %llu.\n",
Expand Down

0 comments on commit ce3eda0

Please sign in to comment.