Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5033
b: refs/heads/master
c: e5ca844
h: refs/heads/master
i:
  5031: 773a9ad
v: v3
  • Loading branch information
Robert Love authored and Linus Torvalds committed Jul 26, 2005
1 parent ad1b50e commit 72c89d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: 1b2ccf0cc15af717263c7cfe5d0aaf5ac057489e
refs/heads/master: e5ca844a9d795e97c08bc7901c62a48c28469eb0
9 changes: 8 additions & 1 deletion trunk/fs/inotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,8 +1025,15 @@ static struct file_system_type inotify_fs_type = {
*/
static int __init inotify_setup(void)
{
register_filesystem(&inotify_fs_type);
int ret;

ret = register_filesystem(&inotify_fs_type);
if (unlikely(ret))
panic("inotify: register_filesystem returned %d!\n", ret);

inotify_mnt = kern_mount(&inotify_fs_type);
if (unlikely(PTR_ERR(inotify_mnt)))
panic("inotify: kern_mount ret %ld!\n", PTR_ERR(inotify_mnt));

inotify_max_queued_events = 16384;
inotify_max_user_instances = 128;
Expand Down

0 comments on commit 72c89d2

Please sign in to comment.