aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_discard.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-08-23 11:41:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-23 11:41:44 -0700
commit35a177a08d14f238d89d7f03918d3e0482af3240 (patch)
tree72a71fe4cec13e079e182633a62ea9219dbde656 /fs/xfs/xfs_discard.h
parentMerge git://git.infradead.org/users/cbou/battery-3.1 (diff)
parentxfs: fix tracing builds inside the source tree (diff)
downloadlinux-dev-35a177a08d14f238d89d7f03918d3e0482af3240.tar.xz
linux-dev-35a177a08d14f238d89d7f03918d3e0482af3240.zip
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
* 'for-linus' of git://oss.sgi.com/xfs/xfs: xfs: fix tracing builds inside the source tree xfs: remove subdirectories xfs: don't expect xfs headers to be in subdirectories
Diffstat (limited to 'fs/xfs/xfs_discard.h')
-rw-r--r--fs/xfs/xfs_discard.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/xfs/xfs_discard.h b/fs/xfs/xfs_discard.h
new file mode 100644
index 000000000000..344879aea646
--- /dev/null
+++ b/fs/xfs/xfs_discard.h
@@ -0,0 +1,10 @@
+#ifndef XFS_DISCARD_H
+#define XFS_DISCARD_H 1
+
+struct fstrim_range;
+struct list_head;
+
+extern int xfs_ioc_trim(struct xfs_mount *, struct fstrim_range __user *);
+extern int xfs_discard_extents(struct xfs_mount *, struct list_head *);
+
+#endif /* XFS_DISCARD_H */