diff options
112 files changed, 10496 insertions, 12850 deletions
diff --git a/Documentation/filesystems/xfs.txt b/Documentation/filesystems/xfs.txt index 0a1668ba2600..9878f50d6ed6 100644 --- a/Documentation/filesystems/xfs.txt +++ b/Documentation/filesystems/xfs.txt | |||
| @@ -229,10 +229,6 @@ The following sysctls are available for the XFS filesystem: | |||
| 229 | ISGID bit is cleared if the irix_sgid_inherit compatibility sysctl | 229 | ISGID bit is cleared if the irix_sgid_inherit compatibility sysctl |
| 230 | is set. | 230 | is set. |
| 231 | 231 | ||
| 232 | fs.xfs.restrict_chown (Min: 0 Default: 1 Max: 1) | ||
| 233 | Controls whether unprivileged users can use chown to "give away" | ||
| 234 | a file to another user. | ||
| 235 | |||
| 236 | fs.xfs.inherit_sync (Min: 0 Default: 1 Max: 1) | 232 | fs.xfs.inherit_sync (Min: 0 Default: 1 Max: 1) |
| 237 | Setting this to "1" will cause the "sync" flag set | 233 | Setting this to "1" will cause the "sync" flag set |
| 238 | by the xfs_io(8) chattr command on a directory to be | 234 | by the xfs_io(8) chattr command on a directory to be |
diff --git a/fs/inode.c b/fs/inode.c index 0487ddba1397..098a2443196f 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
| @@ -108,84 +108,100 @@ static void wake_up_inode(struct inode *inode) | |||
| 108 | wake_up_bit(&inode->i_state, __I_LOCK); | 108 | wake_up_bit(&inode->i_state, __I_LOCK); |
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | static struct inode *alloc_inode(struct super_block *sb) | 111 | /** |
| 112 | * inode_init_always - perform inode structure intialisation | ||
| 113 | * @sb - superblock inode belongs to. | ||
