diff options
| author | Younger Liu <younger.liucn@gmail.com> | 2014-01-10 12:40:48 +1100 |
|---|---|---|
| committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-01-10 12:40:48 +1100 |
| commit | 5bfddfb29f5f6e133642213f4b911f44bb2eaac7 (patch) | |
| tree | 8c2f7108a282248055125d0b0b5f45fc9437a603 /fs/ocfs2/dlmfs/Makefile | |
| parent | 7e8f654a5686ac5657ba157a516e9671c820cb56 (diff) | |
ocfs2: fix ocfs2_sync_file() if filesystem is readonly
If filesystem is readonly, there is no need to flush drive's caches or
force any uncommitted transactions.
Signed-off-by: Younger Liu <younger.liucn@gmail.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/dlmfs/Makefile')
0 files changed, 0 insertions, 0 deletions
