file.c (d31dcd92473b26463cd804410174f16be8a02573) file.c (f66debf1b3755039680289d83fe7a92a4ad3d77d)
1/*
2 * (C) 2001 Clemson University and The University of Chicago
3 *
4 * See COPYING in top-level directory.
5 */
6
7/*
8 * Linux VFS file operations.

--- 571 unchanged lines hidden (view full) ---

580 * Called to notify the module that there are no more references to
581 * this file (i.e. no processes have it open).
582 *
583 * \note Not called when each file is closed.
584 */
585static int orangefs_file_release(struct inode *inode, struct file *file)
586{
587 gossip_debug(GOSSIP_FILE_DEBUG,
1/*
2 * (C) 2001 Clemson University and The University of Chicago
3 *
4 * See COPYING in top-level directory.
5 */
6
7/*
8 * Linux VFS file operations.

--- 571 unchanged lines hidden (view full) ---

580 * Called to notify the module that there are no more references to
581 * this file (i.e. no processes have it open).
582 *
583 * \note Not called when each file is closed.
584 */
585static int orangefs_file_release(struct inode *inode, struct file *file)
586{
587 gossip_debug(GOSSIP_FILE_DEBUG,
588 "orangefs_file_release: called on %s\n",
589 file->f_path.dentry->d_name.name);
588 "orangefs_file_release: called on %pD\n",
589 file);
590
591 orangefs_flush_inode(inode);
592
593 /*
594 * remove all associated inode pages from the page cache and mmap
595 * readahead cache (if any); this forces an expensive refresh of
596 * data for the next caller of mmap (or 'get_block' accesses)
597 */

--- 118 unchanged lines hidden ---
590
591 orangefs_flush_inode(inode);
592
593 /*
594 * remove all associated inode pages from the page cache and mmap
595 * readahead cache (if any); this forces an expensive refresh of
596 * data for the next caller of mmap (or 'get_block' accesses)
597 */

--- 118 unchanged lines hidden ---