diff options
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index e9c1573f6aa7..5861eb42e626 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -1942,7 +1942,7 @@ static int cifs_prepare_write(struct file *file, struct page *page, | |||
1942 | return 0; | 1942 | return 0; |
1943 | } | 1943 | } |
1944 | 1944 | ||
1945 | struct address_space_operations cifs_addr_ops = { | 1945 | const struct address_space_operations cifs_addr_ops = { |
1946 | .readpage = cifs_readpage, | 1946 | .readpage = cifs_readpage, |
1947 | .readpages = cifs_readpages, | 1947 | .readpages = cifs_readpages, |
1948 | .writepage = cifs_writepage, | 1948 | .writepage = cifs_writepage, |
@@ -1959,7 +1959,7 @@ struct address_space_operations cifs_addr_ops = { | |||
1959 | * contain the header plus one complete page of data. Otherwise, we need | 1959 | * contain the header plus one complete page of data. Otherwise, we need |
1960 | * to leave cifs_readpages out of the address space operations. | 1960 | * to leave cifs_readpages out of the address space operations. |
1961 | */ | 1961 | */ |
1962 | struct address_space_operations cifs_addr_ops_smallbuf = { | 1962 | const struct address_space_operations cifs_addr_ops_smallbuf = { |
1963 | .readpage = cifs_readpage, | 1963 | .readpage = cifs_readpage, |
1964 | .writepage = cifs_writepage, | 1964 | .writepage = cifs_writepage, |
1965 | .writepages = cifs_writepages, | 1965 | .writepages = cifs_writepages, |