aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback.h
diff options
context:
space:
mode:
authorAlexandros Batsakis <batsakis@netapp.com>2011-01-06 11:36:31 +0000
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-01-06 14:46:32 -0500
commit36840370845629e6cb4324d1dd4aff6778670503 (patch)
treeb295dba561cefecd6845c4402a52df5f7894f520 /fs/nfs/callback.h
parent43f1b3da8b35d706d6c47880fc211d2519b4a587 (diff)
downloadkernel_samsung_smdk4412-36840370845629e6cb4324d1dd4aff6778670503.zip
kernel_samsung_smdk4412-36840370845629e6cb4324d1dd4aff6778670503.tar.gz
kernel_samsung_smdk4412-36840370845629e6cb4324d1dd4aff6778670503.tar.bz2
pnfs: update nfs4_callback_recallany to handle layouts
While here, update the code a bit. Signed-off-by: Alexandros Batsakis <batsakis@netapp.com> Signed-off-by: Fred Isaman <iisaman@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r--fs/nfs/callback.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h
index f6768ac..d3b44f9 100644
--- a/fs/nfs/callback.h
+++ b/fs/nfs/callback.h
@@ -119,6 +119,14 @@ extern int nfs41_validate_delegation_stateid(struct nfs_delegation *delegation,
#define RCA4_TYPE_MASK_RDATA_DLG 0
#define RCA4_TYPE_MASK_WDATA_DLG 1
+#define RCA4_TYPE_MASK_DIR_DLG 2
+#define RCA4_TYPE_MASK_FILE_LAYOUT 3
+#define RCA4_TYPE_MASK_BLK_LAYOUT 4
+#define RCA4_TYPE_MASK_OBJ_LAYOUT_MIN 8
+#define RCA4_TYPE_MASK_OBJ_LAYOUT_MAX 9
+#define RCA4_TYPE_MASK_OTHER_LAYOUT_MIN 12
+#define RCA4_TYPE_MASK_OTHER_LAYOUT_MAX 15
+#define RCA4_TYPE_MASK_ALL 0xf31f
struct cb_recallanyargs {
struct sockaddr *craa_addr;