.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "NTFS_SETATTR" "" "06 October 2005" "" ""
.SH NAME
ntfs_setattr \- called from notify_change when an attribute is being changed
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ntfs_setattr (struct dentry * \fIdentry\fB, struct iattr * \fIattr\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdentry\fB\fR
dentry whose attributes to change
.TP
\fB\fIattr\fB\fR
structure describing the attributes and the changes
.SH "DESCRIPTION"
.PP
We have to trap VFS attempts to truncate the file described by \fIdentry\fR as
soon as possible, because we do not implement changes in i_size yet. So we
abort all i_size changes here.
.PP
Called with ->i_sem held.
.PP
Basically this is a copy of generic \fBnotify_change\fR and \fBinode_setattr\fR
functionality, except we intercept and abort changes in i_size.