diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-04-05 19:18:42 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-04-05 19:18:42 -0800 |
| commit | 63a0d3c5c4485f14b5682f4c5d5f2212ce6afdd3 (patch) | |
| tree | 2e978cc883f377aaacc1d2ac1874e2547f1f205c /include | |
| parent | 27f7db2c57d2d4ca02b6a922989d87285b716898 (diff) | |
[PATCH] ->setattr() locking changes
Take ->i_sem in all callers of notify_change().
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/fs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index dabeab042dd0..c27c3bc58cc9 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -305,6 +305,8 @@ extern void set_bh_page(struct buffer_head *bh, struct page *page, unsigned long #define ATTR_MTIME_SET 256 #define ATTR_FORCE 512 /* Not a change, but a change it */ #define ATTR_ATTR_FLAG 1024 +#define ATTR_KILL_SUID 2048 +#define ATTR_KILL_SGID 4096 /* * This is the Inode Attributes structure, used for notify_change(). It @@ -1313,7 +1315,7 @@ static inline struct inode *iget(struct super_block *sb, unsigned long ino) extern void clear_inode(struct inode *); extern struct inode *new_inode(struct super_block *); -extern void remove_suid(struct inode *inode); +extern void remove_suid(struct dentry *); extern void insert_inode_hash(struct inode *); extern void remove_inode_hash(struct inode *); extern struct file * get_empty_filp(void); |
