Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54243
b: refs/heads/master
c: 5bc9859
h: refs/heads/master
i:
  54241: 754c352
  54239: e3528d2
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed May 7, 2007
1 parent dfc44c7 commit a10ed6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cfce66047f1893cb7d3abb0d53e65cbbd8d605f0
refs/heads/master: 5bc98594d59672303c4c9c07262ecc373dc374da
3 changes: 3 additions & 0 deletions trunk/fs/hugetlbfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,9 @@ struct file *hugetlb_zero_setup(size_t size)
char buf[16];
static atomic_t counter;

if (!hugetlbfs_vfsmount)
return ERR_PTR(-ENOENT);

if (!can_do_hugetlb_shm())
return ERR_PTR(-EPERM);

Expand Down

0 comments on commit a10ed6b

Please sign in to comment.