fs.h (622147fdad5425f6f572f84ce709303e5e0500b7) | fs.h (bee9182d955227f01ff3b80c4cb6acca9bb40b11) |
---|---|
1#ifndef _LINUX_FS_H 2#define _LINUX_FS_H 3 4 5#include <linux/linkage.h> 6#include <linux/wait.h> 7#include <linux/kdev_t.h> 8#include <linux/dcache.h> --- 1377 unchanged lines hidden (view full) --- 1386 1387/* 1388 * Snapshotting support. 1389 */ 1390 1391void __sb_end_write(struct super_block *sb, int level); 1392int __sb_start_write(struct super_block *sb, int level, bool wait); 1393 | 1#ifndef _LINUX_FS_H 2#define _LINUX_FS_H 3 4 5#include <linux/linkage.h> 6#include <linux/wait.h> 7#include <linux/kdev_t.h> 8#include <linux/dcache.h> --- 1377 unchanged lines hidden (view full) --- 1386 1387/* 1388 * Snapshotting support. 1389 */ 1390 1391void __sb_end_write(struct super_block *sb, int level); 1392int __sb_start_write(struct super_block *sb, int level, bool wait); 1393 |
1394#define __sb_writers_acquired(sb, lev) \ 1395 rwsem_acquire_read(&(sb)->s_writers.lock_map[(lev)-1], 0, 1, _THIS_IP_) 1396#define __sb_writers_release(sb, lev) \ 1397 rwsem_release(&(sb)->s_writers.lock_map[(lev)-1], 1, _THIS_IP_) 1398 |
|
1394/** 1395 * sb_end_write - drop write access to a superblock 1396 * @sb: the super we wrote to 1397 * 1398 * Decrement number of writers to the filesystem. Wake up possible waiters 1399 * wanting to freeze the filesystem. 1400 */ 1401static inline void sb_end_write(struct super_block *sb) --- 1643 unchanged lines hidden --- | 1399/** 1400 * sb_end_write - drop write access to a superblock 1401 * @sb: the super we wrote to 1402 * 1403 * Decrement number of writers to the filesystem. Wake up possible waiters 1404 * wanting to freeze the filesystem. 1405 */ 1406static inline void sb_end_write(struct super_block *sb) --- 1643 unchanged lines hidden --- |