]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ubifs/ubifs.h
check ATTR_SIZE contraints in inode_change_ok
[net-next-2.6.git] / fs / ubifs / ubifs.h
index 04310878f449ac44db40c89325dd0f745f2b5cdd..0c9876b396dd021f43c91dc77d27a244d5b95487 100644 (file)
@@ -379,7 +379,7 @@ struct ubifs_gced_idx_leb {
  * The @ui_size is a "shadow" variable for @inode->i_size and UBIFS uses
  * @ui_size instead of @inode->i_size. The reason for this is that UBIFS cannot
  * make sure @inode->i_size is always changed under @ui_mutex, because it
- * cannot call 'simple_setsize()' with @ui_mutex locked, because it would deadlock
+ * cannot call 'truncate_setsize()' with @ui_mutex locked, because it would deadlock
  * with 'ubifs_writepage()' (see file.c). All the other inode fields are
  * changed under @ui_mutex, so they do not need "shadow" fields. Note, one
  * could consider to rework locking and base it on "shadow" fields.