[PATCH 0/2] remove redundant check buffer_uptodate()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now set_buffer_uptodate() will test first and then set, so we don't have
to check buffer_uptodate() first, remove it to simplify code.

Hao Xu (2):
  fs: remove redundant check buffer_uptodate()
  ntfs: remove redundant check buffer_uptodate()

 fs/buffer.c       | 9 +++------
 fs/ntfs/file.c    | 9 +++------
 fs/ntfs/logfile.c | 3 +--
 3 files changed, 7 insertions(+), 14 deletions(-)

-- 
1.8.3.1




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux