diff options
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 6867e556d37e..3565d3bf2e32 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -1155,7 +1155,6 @@ CIFSSMBWrite(const int xid, struct cifsTconInfo *tcon, | |||
1155 | return rc; | 1155 | return rc; |
1156 | } | 1156 | } |
1157 | 1157 | ||
1158 | #ifdef CONFIG_CIFS_EXPERIMENTAL | ||
1159 | int | 1158 | int |
1160 | CIFSSMBWrite2(const int xid, struct cifsTconInfo *tcon, | 1159 | CIFSSMBWrite2(const int xid, struct cifsTconInfo *tcon, |
1161 | const int netfid, const unsigned int count, | 1160 | const int netfid, const unsigned int count, |
@@ -1223,7 +1222,7 @@ CIFSSMBWrite2(const int xid, struct cifsTconInfo *tcon, | |||
1223 | *nbytes = le16_to_cpu(pSMBr->CountHigh); | 1222 | *nbytes = le16_to_cpu(pSMBr->CountHigh); |
1224 | *nbytes = (*nbytes) << 16; | 1223 | *nbytes = (*nbytes) << 16; |
1225 | *nbytes += le16_to_cpu(pSMBr->Count); | 1224 | *nbytes += le16_to_cpu(pSMBr->Count); |
1226 | } | 1225 | } |
1227 | 1226 | ||
1228 | cifs_small_buf_release(pSMB); | 1227 | cifs_small_buf_release(pSMB); |
1229 | 1228 | ||
@@ -1234,8 +1233,6 @@ CIFSSMBWrite2(const int xid, struct cifsTconInfo *tcon, | |||
1234 | } | 1233 | } |
1235 | 1234 | ||
1236 | 1235 | ||
1237 | #endif /* CIFS_EXPERIMENTAL */ | ||
1238 | |||
1239 | int | 1236 | int |
1240 | CIFSSMBLock(const int xid, struct cifsTconInfo *tcon, | 1237 | CIFSSMBLock(const int xid, struct cifsTconInfo *tcon, |
1241 | const __u16 smb_file_id, const __u64 len, | 1238 | const __u16 smb_file_id, const __u64 len, |