projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
userns: Better restrictions on when proc and sysfs can be mounted
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
include
/
linux
/
fs.h
diff --git
a/include/linux/fs.h
b/include/linux/fs.h
index
99be011
..
3050c62
100644
(file)
--- a/
include/linux/fs.h
+++ b/
include/linux/fs.h
@@
-10,6
+10,7
@@
#include <linux/stat.h>
#include <linux/cache.h>
#include <linux/list.h>
#include <linux/stat.h>
#include <linux/cache.h>
#include <linux/list.h>
+#include <linux/llist.h>
#include <linux/radix-tree.h>
#include <linux/rbtree.h>
#include <linux/init.h>
#include <linux/radix-tree.h>
#include <linux/rbtree.h>
#include <linux/init.h>
@@
-372,8
+373,8
@@
struct address_space_operations {
int (*get_xip_mem)(struct address_space *, pgoff_t, int,
void **, unsigned long *);
/*
int (*get_xip_mem)(struct address_space *, pgoff_t, int,
void **, unsigned long *);
/*
- * migrate the contents of a page to the specified target. If
sync
- *
is false
, it must not block.
+ * migrate the contents of a page to the specified target. If
+ *
migrate_mode is MIGRATE_ASYNC
, it must not block.
*/
int (*migratepage) (struct address_space *,
struct page *, struct page *, enum migrate_mode);
*/
int (*migratepage) (struct address_space *,
struct page *, struct page *, enum migrate_mode);
@@
-768,6
+769,7
@@
struct file {
*/
union {
struct list_head fu_list;
*/
union {
struct list_head fu_list;
+ struct llist_node fu_llist;
struct rcu_head fu_rcuhead;
} f_u;
struct path f_path;
struct rcu_head fu_rcuhead;
} f_u;
struct path f_path;
@@
-954,6
+956,7
@@
struct file_lock {
unsigned int fl_flags;
unsigned char fl_type;
unsigned int fl_pid;
unsigned int fl_flags;
unsigned char fl_type;
unsigned int fl_pid;
+ int fl_link_cpu; /* what cpu's list is this on? */
struct pid *fl_nspid;
wait_queue_head_t fl_wait;
struct file *fl_file;
struct pid *fl_nspid;
wait_queue_head_t fl_wait;
struct file *fl_file;
@@
-1894,6
+1897,7
@@
extern int vfs_ustat(dev_t, struct kstatfs *);
extern int freeze_super(struct super_block *super);
extern int thaw_super(struct super_block *super);
extern bool our_mnt(struct vfsmount *mnt);
extern int freeze_super(struct super_block *super);
extern int thaw_super(struct super_block *super);
extern bool our_mnt(struct vfsmount *mnt);
+extern bool fs_fully_visible(struct file_system_type *);
extern int current_umask(void);
extern int current_umask(void);