diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-03-04 00:35:43 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-03-04 00:35:43 -0500 |
commit | d2c032e3dc58137a7261a7824d3acce435db1d66 (patch) | |
tree | 7eea1c7c6103eefe879f07472eec99b3c41eb792 /fs/xfs/xfs_inode.h | |
parent | 7e8e385aaf6ed5b64b5d9108081cfcdcdd021b78 (diff) | |
parent | 13a7a6ac0a11197edcd0f756a035f472b42cdf8b (diff) |
Merge tag 'v4.0-rc2' into x86/asm, to refresh the tree
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 4ed2ba9342dc..a1cd55f3f351 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h | |||
@@ -338,7 +338,7 @@ int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip, | |||
338 | int xfs_rename(struct xfs_inode *src_dp, struct xfs_name *src_name, | 338 | int xfs_rename(struct xfs_inode *src_dp, struct xfs_name *src_name, |
339 | struct xfs_inode *src_ip, struct xfs_inode *target_dp, | 339 | struct xfs_inode *src_ip, struct xfs_inode *target_dp, |
340 | struct xfs_name *target_name, | 340 | struct xfs_name *target_name, |
341 | struct xfs_inode *target_ip); | 341 | struct xfs_inode *target_ip, unsigned int flags); |
342 | 342 | ||
343 | void xfs_ilock(xfs_inode_t *, uint); | 343 | void xfs_ilock(xfs_inode_t *, uint); |
344 | int xfs_ilock_nowait(xfs_inode_t *, uint); | 344 | int xfs_ilock_nowait(xfs_inode_t *, uint); |
@@ -377,8 +377,18 @@ int xfs_droplink(struct xfs_trans *, struct xfs_inode *); | |||
377 | int xfs_bumplink(struct xfs_trans *, struct xfs_inode *); | 377 | int xfs_bumplink(struct xfs_trans *, struct xfs_inode *); |
378 | 378 | ||
379 | /* from xfs_file.c */ | 379 | /* from xfs_file.c */ |
380 | int xfs_zero_eof(struct xfs_inode *, xfs_off_t, xfs_fsize_t); | 380 | enum xfs_prealloc_flags { |
381 | int xfs_iozero(struct xfs_inode *, loff_t, size_t); | 381 | XFS_PREALLOC_SET = (1 << 1), |
382 | XFS_PREALLOC_CLEAR = (1 << 2), | ||
383 | XFS_PREALLOC_SYNC = (1 << 3), | ||
384 | XFS_PREALLOC_INVISIBLE = (1 << 4), | ||
385 | }; | ||
386 | |||
387 | int xfs_update_prealloc_flags(struct xfs_inode *ip, | ||
388 | enum xfs_prealloc_flags flags); | ||
389 | int xfs_zero_eof(struct xfs_inode *ip, xfs_off_t offset, | ||
390 | xfs_fsize_t isize, bool *did_zeroing); | ||
391 | int xfs_iozero(struct xfs_inode *ip, loff_t pos, size_t count); | ||
382 | 392 | ||
383 | 393 | ||
384 | #define IHOLD(ip) \ | 394 | #define IHOLD(ip) \ |