5 #include <linux/capability.h>
9 #include <linux/time.h>
10 #include <asm/uaccess.h>
48 flags = REISERFS_I(inode)->i_attrs;
77 if (((flags ^ REISERFS_I(inode)->
95 REISERFS_I(inode)->i_attrs =
flags;
97 mark_inode_dirty(inode);
118 mark_inode_dirty(inode);
156 return reiserfs_ioctl(file, cmd, (
unsigned long) compat_ptr(arg));
161 unsigned from,
unsigned to);
174 unsigned long write_from;
175 unsigned long blocksize = inode->
i_sb->s_blocksize;
189 reiserfs_mutex_lock_safe(&inode->
i_mutex, inode->
i_sb);
191 write_from = inode->
i_size & (blocksize - 1);
193 if (write_from == 0) {
204 page = grab_cache_page(mapping, index);