Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230079
b: refs/heads/master
c: 9242415
h: refs/heads/master
i:
  230077: 9e8968a
  230075: 642df9c
  230071: 6fa0177
  230063: 34ab8d4
  230047: 9092965
  230015: f837fea
v: v3
  • Loading branch information
Josef Bacik authored and Al Viro committed Jan 13, 2011
1 parent 959390b commit 07d6525
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9ecf639a9686c9c7e3fd2cd72817ca490c658e6f
refs/heads/master: 924241575a85249b9d410e38f5b2fcad9035e45c
9 changes: 9 additions & 0 deletions trunk/Documentation/filesystems/porting
Original file line number Diff line number Diff line change
Expand Up @@ -385,3 +385,12 @@ Documentation/filesystems/vfs.txt for more details.
on many or all directory inodes on the way down a path walk (to check for
exec permission). These must now be rcu-walk aware (flags & IPERM_RCU). See
Documentation/filesystems/vfs.txt for more details.

--
[mandatory]
In ->fallocate() you must check the mode option passed in. If your
filesystem does not support hole punching (deallocating space in the middle of a
file) you must return -EOPNOTSUPP if FALLOC_FL_PUNCH_HOLE is set in mode.
Currently you can only have FALLOC_FL_PUNCH_HOLE with FALLOC_FL_KEEP_SIZE set,
so the i_size should not change when hole punching, even when puching the end of
a file off.

0 comments on commit 07d6525

Please sign in to comment.