NTFS_SETATTR
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
ntfs_setattr - called from notify_change when an attribute is being changed
SYNOPSIS
"SYNOPSIS"
int ntfs_setattr (struct dentry * dentry, struct iattr * attr);
ARGUMENTS
- dentry
-
dentry whose attributes to change
- attr
-
structure describing the attributes and the changes
DESCRIPTION
We have to trap VFS attempts to truncate the file described by dentry as
soon as possible, because we do not implement changes in i_size yet. So we
abort all i_size changes here.
Called with ->i_sem held.
Basically this is a copy of generic notify_change and inode_setattr
functionality, except we intercept and abort changes in i_size.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 13:31:43 GMT, October 06, 2005