Lines Matching refs:truncate
114 "save unlink" removal, or if file has both unlink and truncate
117 protects truncate), so there left no items to make truncate
155 int truncate;
215 truncate = 1;
217 truncate = 0;
240 if (!truncate && inode->i_nlink) {
250 if (truncate && S_ISDIR(inode->i_mode)) {
251 /* We got a truncate request for a dir which is impossible.
252 The only imaginable way is to execute unfinished truncate request
256 "green-2101: impossible truncate on a directory %k. Please report",
259 truncate = 0;
264 if (truncate) {
267 /* not completed truncate found. New size was committed together
275 retval = remove_save_link(inode, truncate);
312 struct inode *inode, int truncate)
323 RFALSE(truncate &&
327 RFALSE(!truncate &&
336 if (!truncate) {
346 /* truncate */
349 "green-2102: Adding a truncate savelink for a directory %k! Please report",
383 if (truncate)
392 int remove_save_link(struct inode *inode, int truncate)
406 if (!truncate) {
412 /* truncate */
417 if ((truncate &&
419 (!truncate &&
423 if (!truncate) {