inode.c (64f28c627a27abb053561275bf94fbcc78e66198) | inode.c (a8810cdc007f816e0e2448879ebd84152ce8c907) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/ceph/ceph_debug.h> 3 4#include <linux/module.h> 5#include <linux/fs.h> 6#include <linux/slab.h> 7#include <linux/string.h> 8#include <linux/uaccess.h> --- 1951 unchanged lines hidden (view full) --- 1960 filemap_fdatawrite(&inode->i_data); 1961 } 1962 if (test_and_clear_bit(CEPH_I_WORK_INVALIDATE_PAGES, &ci->i_work_mask)) 1963 ceph_do_invalidate_pages(inode); 1964 1965 if (test_and_clear_bit(CEPH_I_WORK_VMTRUNCATE, &ci->i_work_mask)) 1966 __ceph_do_pending_vmtruncate(inode); 1967 | 1// SPDX-License-Identifier: GPL-2.0 2#include <linux/ceph/ceph_debug.h> 3 4#include <linux/module.h> 5#include <linux/fs.h> 6#include <linux/slab.h> 7#include <linux/string.h> 8#include <linux/uaccess.h> --- 1951 unchanged lines hidden (view full) --- 1960 filemap_fdatawrite(&inode->i_data); 1961 } 1962 if (test_and_clear_bit(CEPH_I_WORK_INVALIDATE_PAGES, &ci->i_work_mask)) 1963 ceph_do_invalidate_pages(inode); 1964 1965 if (test_and_clear_bit(CEPH_I_WORK_VMTRUNCATE, &ci->i_work_mask)) 1966 __ceph_do_pending_vmtruncate(inode); 1967 |
1968 if (test_and_clear_bit(CEPH_I_WORK_CHECK_CAPS, &ci->i_work_mask)) 1969 ceph_check_caps(ci, 0, NULL); 1970 1971 if (test_and_clear_bit(CEPH_I_WORK_FLUSH_SNAPS, &ci->i_work_mask)) 1972 ceph_flush_snaps(ci, NULL); 1973 |
|
1968 iput(inode); 1969} 1970 1971/* 1972 * symlinks 1973 */ 1974static const struct inode_operations ceph_symlink_iops = { 1975 .get_link = simple_get_link, --- 407 unchanged lines hidden --- | 1974 iput(inode); 1975} 1976 1977/* 1978 * symlinks 1979 */ 1980static const struct inode_operations ceph_symlink_iops = { 1981 .get_link = simple_get_link, --- 407 unchanged lines hidden --- |