Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370115
b: refs/heads/master
c: c3bef7b
h: refs/heads/master
i:
  370113: c9ef6d5
  370111: 984186f
v: v3
  • Loading branch information
David Howells authored and Al Viro committed May 1, 2013
1 parent 991bf71 commit d03dbed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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: 1dd704b6175f067781807ad4da1b878357dc9755
refs/heads/master: c3bef7bcaaa7d9f6704fcd81a171c9f0c91a2259
5 changes: 5 additions & 0 deletions trunk/fs/proc/fd.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ extern const struct inode_operations proc_fdinfo_inode_operations;

extern int proc_fd_permission(struct inode *inode, int mask);

static inline int proc_fd(struct inode *inode)
{
return PROC_I(inode)->fd;
}

#endif /* __PROCFS_FD_H__ */
5 changes: 0 additions & 5 deletions trunk/fs/proc/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ static inline struct task_struct *get_proc_task(struct inode *inode)
return get_pid_task(proc_pid(inode), PIDTYPE_PID);
}

static inline int proc_fd(struct inode *inode)
{
return PROC_I(inode)->fd;
}

static inline int task_dumpable(struct task_struct *task)
{
int dumpable = 0;
Expand Down

0 comments on commit d03dbed

Please sign in to comment.