projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xfs: prepare xfs_break_layouts() for another layout type
[linux-2.6-microblaze.git]
/
fs
/
xfs
/
xfs_pnfs.h
diff --git
a/fs/xfs/xfs_pnfs.h
b/fs/xfs/xfs_pnfs.h
index
bf45951
..
940c6c2
100644
(file)
--- a/
fs/xfs/xfs_pnfs.h
+++ b/
fs/xfs/xfs_pnfs.h
@@
-9,10
+9,11
@@
int xfs_fs_map_blocks(struct inode *inode, loff_t offset, u64 length,
int xfs_fs_commit_blocks(struct inode *inode, struct iomap *maps, int nr_maps,
struct iattr *iattr);
int xfs_fs_commit_blocks(struct inode *inode, struct iomap *maps, int nr_maps,
struct iattr *iattr);
-int xfs_break_layouts(struct inode *inode, uint *iolock);
+int xfs_break_leased_layouts(struct inode *inode, uint *iolock,
+ bool *did_unlock);
#else
static inline int
#else
static inline int
-xfs_break_l
ayouts(struct inode *inode, uint *io
lock)
+xfs_break_l
eased_layouts(struct inode *inode, uint *iolock, bool *did_un
lock)
{
return 0;
}
{
return 0;
}